Multiple Choice
What will the browser display if the following script is executed and the user enters 5 at both prompts
< script type = "text/javascript" >
< !--
Var firstNumber = window.prompt( "Enter an integer", "0" ) ;
Var secondNumber= window.prompt( "Enter an integer", "0" ) ;
Var thirdNumber;
ThirdNumber = firstNumber + secondNumber;
Document.write( thirdNumber ) ;
//-- >
< /script >
A) nothing
B) 0
C) 10
D) 55
Correct Answer:

Verified
Correct Answer:
Verified
Q4: Which of the following operators associates from
Q5: Consider the following script. What is wrong
Q6: Consider the following HTML5 code.<br>< html ><br><
Q7: Which of the following is not a
Q8: Whenever a value is placed in a
Q9: Which of the following sequences does not
Q11: An alert dialog displaying the text "Welcome!"
Q12: What does the following expression evaluate to<br>(
Q13: In the following line the word document
Q14: What is the result of the statement