Multiple Choice
How is the alert() method different from prompt() and confirm() ?
A) The alert() method generates a modal dialog box, which requires user action before the next JavaScript instruction can be executed, whereas prompt() and confirm() do not.
B) The alert() method requires only one parameter, whereas prompt() and confirm() require two parameters.
C) The alert() method requires two parameters, whereas prompt() and confirm() require only one parameter.
D) The prompt() and confirm() methods return a value, whereas alert() does not.
Correct Answer:

Verified
Correct Answer:
Verified
Q13: Which of the following is a reason
Q14: Consider the following code: <img src="https://d2lvgg3v3hfg70.cloudfront.net/C1242/.jpg" alt="Consider
Q15: Consider the following code: <img src="https://d2lvgg3v3hfg70.cloudfront.net/C1242/.jpg" alt="Consider
Q16: Consider the following statement: for (X; Y;
Q17: What is the purpose of the prototype
Q19: Which statement about the JavaScript form object
Q20: Which script block will display Hello World
Q21: Suppose you define two variables as follows:
Q22: Consider the following code: <img src="https://d2lvgg3v3hfg70.cloudfront.net/C1242/.jpg" alt="Consider
Q23: Maria, a 22-year old student, is testing