Congratulations - You have completed JavaScript : MCQ.

Your Score

:

%%SCORE%%

Total Marks

:

%%TOTAL%%

Rating

:

%%RATING%%

Wrong Answers

:

%%WRONG_ANSWERS%%


Your answers are highlighted below.
Question 1
Java Script have following type of Comment(s) -
A
Enhanced Comments
B
Multiple Line Comments
C
Single Line Comment
D
HTML Style Comment
Question 2
Single Line Comment Starts with _________ Symbol.
A
"#"
B
"//"
C
"$$"
D
"\\"
Question 3
Which of the following is considered as End of Single line comment ?
A
End of Statement
B
Semicolon
C
"*/" Symbol
D
End of Line
Question 4
Comments in JS are ignored by ____________.
A
Operating System
B
Compiler
C
Browser
D
JVM
Question 5
Comment Statement is _________________ type of statement.
A
Non Executable
B
Non Usable
C
Non Important
D
Executive
Question 5 Explanation: 
Write comment is useful and important for documentation purpose.
Question 6
/* This is Simple Comment */
This is the example of ____________ Comment.
A
Multiple Line Comment
B
Single Line Comment
Question 7
Select appropriate option(s) : JS Comment can be used for following purposes -
A
to Hide Non-usable Multiline Code
B
to Hide Non-usable line.
C
All of these
D
used for Documentation
Question 8
<script type="text/javascript">
// document.write("<h1>Heading</h1>");
document.write("<p>Google</p>");
document.write("<p>Yahoo</p>");
</script>
Which of the statement will be neglected by Browser ?
A
<p>Yahoo</p>
B
<h1>Heading</h1>
C
<p>Google</p>
D
All Statements
Question 9
Person XYZ wrote his name and date of code creation at the start , What kind of comment he has written ?
A
Documentation Comment
B
Functional Comment
C
None of These
D
Code Hiding Comment
Question 10
In multiple line comment , End of the comment is specified by ________ Symbol.
A
//
B
\\
C
*\
D
*/
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 10 questions to complete.