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...

The project team has created a single search page for a future database engine, with several fields for specifying search terms and several options for displaying the results. What type of prototype is it?

What will be an ideal response?

Computer Science & Information Technology

The _________________ protocol was developed by Novell for the NetWare operating system.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

As shown in the accompanying figure, a ____ object forces the user to select only one option from a group of options.

A. CheckBox B. RadioButton C. TextBox D. CheckList

Computer Science & Information Technology

As shown in the accompanying figure, the blue number next to the Inbox folder shows how many messages - both read and unread - are stored in the Inbox.

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

Computer Science & Information Technology