What will be displayed after the following document.write statement is executed?

```
var math = new Array("Algebra 1", "Algebra 2", "Trig", ?
"Calculus 1", Calculus 2");
document.write("There are " + math.length + 1 + " math ?
courses in the sequence.");

```

a. There are 5 math courses in the sequence.
b. There are 4 math courses in the sequence.
c. There are 6 math courses in the sequence.
d. Nothing will display. This code won't work.

a. There are 5 math courses in the sequence.

Computer Science & Information Technology

You might also like to view...

A mistake made with the pen can be removed from a slide

Indicate whether the statement is true or false

Computer Science & Information Technology

When you click Blank document in the Start screen, the Start screen closes and a new blank document appears on screen in the Word app window.

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

Computer Science & Information Technology