JavaScript MCQ : JS Statements (Multiple Choice Questions)


Question 1
____________ is used to assign value to the variable.
A
Executable Statement
B
Conditional Statement
C
Assignment Statement
D
Declaration Statement
Question 2
JavaScript Statement may contain HTML Tags. Say True/False.
A
False
B
True
Question 3
JavaScript is Case Sensitive !!Say True or False
A
True
B
False
Question 4
What will be printed inside webpage ?
var message="Hello JS";
document.write(Message);
A
It will crash browser since No Error handler is provided.
B
"Hello JS" will be printed multiple times
C
Nothing Will be printed because Code is not error free,
D
Hello JS
Question 5
It is not necessary to write Semicolon at the end of JS statement !!
A
Yes
B
No
Question 5 Explanation: 
The browser is supposed to interpret the end of the line as the end of the statement.
There are 5 questions to complete.