The syntax of the assignment statement that calls the prompt() function is ____.

A. variableName = prompt("optional default value");
B. variableName = ("prompt text","optional default value");
C. variableName = prompt("prompt text","optional default value");
D. variableName = "prompt text";


Answer: C

Computer Science & Information Technology

You might also like to view...

All of the data for one entity is stored in the same _____.

A. form B. record C. field D. report

Computer Science & Information Technology

If no data collection method is specified for a form, nothing will happen if you click the ____ on the form.

A. check box B. radio button C. text box D. Submit button

Computer Science & Information Technology

A frameset page does contain and tags.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

When you place an @ in front of a string, the string becomes a(n) ____.

A. comment B. verbatim string C. numeric value D. argument

Computer Science & Information Technology