0 of 5 questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 5 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
What will be the output of the following JavaScript code?
var a=5 , b=1 var obj = { a : 10 } with(obj) { alert(b) }
A conditional expression is also called a _______________
What will be the output of the following JavaScript code?
Int a=1; if(a>10) { document.write(10); } else { document.write(a); }
What will be the output of the following JavaScript code?
var grade='B'; var result; switch(grade) { case 'A': { result+="10"; break; } case 'B': { result+=" 9"; break; } case 'C': { result+=" 8"; break; } default: result+=" 0"; } document.write(result);
What will be the output of the following JavaScript code?
int a=4; int b=1; int c=0; If(a==b) document.write(a); else if(a==c) document.write(a); else document.write(c);