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

1. The last element of an array named monsters that has eleven elements is monsters[11].
2. The length property can only be used to find the number of characters in a specified array element.
3. The following statement loads an array named tens with the values 10, 20, 30, 40,and 50, given that the numeric variable x has the value of 10:
```
var tens = new Array[(x * 1),(x * 2),(x * 3),(x * 4),(x * 5)];
```
4. A two-dimensional array can always be used as a substitute for two parallel arrays.
5. The statement:
```
monsters.push("ogre");
```
will add an element with the value "ogre" as the last element of an array named monsters.


1. False
2. False
3. True
4. False
5. True

Computer Science & Information Technology

You might also like to view...

What is a setup frame? When and how do you use one?

What will be an ideal response?

Computer Science & Information Technology

By default, the first time a user saves a database, it will be saved to the Documents folder

Indicate whether the statement is true or false

Computer Science & Information Technology

The rate of speed at which the CPU performs, measured in MHz, is known as ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

By default, ________ text appears underlined in blue in an Excel Worksheet

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

Computer Science & Information Technology