You are on page 1of 3

Homeand Placement

Apt it ude
Services
Aptitude
ObjectiveCivil
Questions

JavaScript : Basics

JavaScript MCQ : JS Basics (Multiple Choice Questions)

JS Basics
JS History
JS Statements
JS Variables
JS Operators

Computer
Science

Question 1

PARTIAL-CREDIT

In order to Hide JS to be shown as its page content ,which Comment is Used ?

/*
----------*/

<!--------------------------------->

// -----------------

<!-------------------------------//-->

Question 2

Web Desi

CSS

C Programming
Computer Basics

HTML

JavaScript

Computer
Networks

Web Servi

Data Structure

XML

Database
Management
Internet & Web
Java
Programming

Programming Tutorials
36,526 likes

Like Page

Be the first of your friends to like this

CORRECT

All modern browsers supports JS.


c4learn.com

False

Follow
+ 1,447

True
Question 3

CORRECT

We use _______ style comment to prevent showing Java Script as Content in the old
browsers.

CSS

JS
HTML

Question 4

WRONG

+1

<html>
<body>
<script type="text/javascript">
<!-document.print("Hello");
//-->
</script>
</body>
</html>

What will be the Output of the above Code ?

Will not print anything because of Comment.


Hello
None of These
Will Throw Error

Question 4 Explanation:
Comment is used to prevent showing JS as page content in Old browsers.
Question 5

PARTIAL-CREDIT

Which was the first browser to support JavaScript ?

Google Chrome
Mozilla Firefox

IE
Netscape
You have completed 5/5 questions .
Your score is 53%.

Test Drive
Mahindra e2o
A Car that Listens and Talks
Back. All Electric Automatic
Mahindra e2o

Pages:

JavaScript MCQ : JS History


(Multiple Choice Questions)

0 Comments

Just Multiple Choice Questions : Programming

Share

Recommend 9

Login

Sort by Best

Start the discussion

Be the first to comment.

WHAT'S THIS?

ALSO ON JUST MULTIPLE CHOICE QUESTIONS : PROGRAMMING

Stack MCQ : Puzzles ( Multiple Choice)

Web Services MCQ : Multiple Choice


Questions [Set 1]

3 comments 2 years ago

1 comment 2 years ago

Kishore Sirimane Where is the method for

ques 2?

louis vuitton outlet Hello there, I found

your website by means of Google whilst


searching for a comparable matter, your

C Programming [MCQ] : Features of C


(Multiple Choice Questions)

DBMS MCQ : Introduction to Database


(Multiple Choice Questions)

10 comments 3 years ago

1 comment 2 years ago

mehboob All questions were so

Senay Degafi nice

intresting,enjoyed while doing them but it will


be much more intresting if u gyes add

Subscribe

HOME ABOUT US CONTACT US

Add Disqus to your site

Privacy

2009-2014 Programming
The content is copyrighted to Pritesh Taral and m
reproduced on other

You might also like