Basic And Variables - Study Mode
[#1] Underscore can be used as first letter while declaring variable in JavaScript.
Correct Answer
(A) True
[#2] Variable declared inside JavaScript Function will be called as ____________.
Correct Answer
(A) Local Variables
[#3] Local Variables are destroyed after execution of function.
Correct Answer
(A) True
[#4] What are the three important manipulations done in a for loop on a loop variable?
Correct Answer
(B) Initialization,Testing, Updation
Explanation
Solution: In a for loop, the initialization, the test, and the update are the three crucial manipulations of a loop variable.
[#5] One of the special feature of an interpreter in reference with the for loop is that
Correct Answer
(A) Before each iteration, the interpreter evaluates the variable expression and assigns the name of the property
Explanation
Solution: Before each iteration, the interpreter evaluates the variable expression and assigns the name of the property (a string value) to it.