Multiple Choice
Which of the following statements outputs the following?
This is line 1.
This is line 2.
A) document.write("This is line 1.") ;
Document.write("This is line 2.") ;
B) var BR = "<br />";
Document.write("This is line 1." "BR") ;
Document.write("This is line 2." "BR") ;
C) document.write"This is line 1.";
Document.write"This is line 2.";
D) var BR = "<br />";
Document.write("This is line 1." + BR) ;
Document.write("This is line 2." + BR) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q7: The Java language was enhanced in the
Q8: HTML uses a system of tags to
Q9: Interpreted programs can be modified and tested
Q10: A _ is a code module that
Q11: The collection of HTML pages stored, transmitted,
Q13: _ programs are free of syntax errors
Q14: JavaScript has no separate declaration for constants,
Q15: A register is a short-term memory location
Q16: _ are segments of program code that
Q17: _ consisted of machine languages, written in