This 'Javascript Post Course Assessment' evaluates key JavaScript skills, focusing on syntax, functions, operators, and string manipulation. It's designed for learners to demonstrate their understanding and ability to apply JavaScript in practical scenarios.
Call alert ('message' + msg);
Alert ('message' + msg);
AlertBox ('message' + msg);
All of the above
Rate this question:
A++ increments the value of a by 1, ++a is incorrect
Both are same and increment the value of a by 1
Both increments the value of a by 1 but a++ does it after assignment and ++a does it before assignment
Both are wrong and will cause an error in the code
Rate this question:
>
=
!=
Rate this question:
Return
Exit
Continue
Break
Rate this question:
Str.substr(4,9);
Str.part(3,5);
Str.substr(3,5);
Str.part(4,9);
Rate this question:
Onfinished
Onload
Onunload
Oncomplete
Rate this question:
For (i
For i = 0 to 5 {…}
For (i = 0; i
For (i = 0; i
Rate this question:
Var txt = new Array ="tim","kim","jim";
Var txt = new Array("tim","kim","jim");
Var txt = new Array:1=("tim")2=("kim")3=("jim");
Var txt = new Array(1:"tim",2:"kim",3:"jim");
Rate this question:
Will return error as this is not a valid statement in JS.
If testCond is equal to 1 then result will contain an array with two elements pass and fail.
If testCond is equal to 1 then result will contain string pass otherwise it will be set to fail.
Result will contain value of testCond if the testCond is equal to 1
Rate this question:
Quiz Review Timeline (Updated): Feb 23, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.