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) -
Enhanced Comments | |
Multiple Line Comments | |
Single Line Comment | |
HTML Style Comment |
Question 2 |
Single Line Comment Starts with _________ Symbol.
"#" | |
"//" | |
"$$" | |
"\\" |
Question 3 |
Which of the following is considered as End of Single line comment ?
End of Statement | |
Semicolon | |
"*/" Symbol | |
End of Line |
Question 4 |
Comments in JS are ignored by ____________.
Operating System | |
Compiler | |
Browser | |
JVM |
Question 5 |
Comment Statement is _________________ type of statement.
Non Executable | |
Non Usable | |
Non Important | |
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.Multiple Line Comment | |
Single Line Comment |
Question 7 |
Select appropriate option(s) : JS Comment can be used for following purposes -
to Hide Non-usable Multiline Code | |
to Hide Non-usable line. | |
All of these | |
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 ?
<p>Yahoo</p> | |
<h1>Heading</h1> | |
<p>Google</p> | |
All Statements |
Question 9 |
Person XYZ wrote his name and date of code creation at the start , What kind of comment he has written ?
Documentation Comment | |
Functional Comment | |
None of These | |
Code Hiding Comment |
Question 10 |
In multiple line comment , End of the comment is specified by ________ Symbol.
// | |
\\ | |
*\ | |
*/ |
Once you are finished, click the button below. Any items you have not completed will be marked incorrect.
There are 10 questions to complete.