Академический Документы
Профессиональный Документы
Культура Документы
Question 1 In a regular array, access to an element is usually through the use of a(n) __________.
Correct
b. random number
c. string
Question 2 Which of the following would be valid as the first line of an if/else statement?
Correct
c. if (x=2)
Question 3 Which of the following would be valid as the first line of an if/else statement?
Correct
b. if (x=2)
b. age[4];
c. age(5);
d. age[5];
c. soap
d. my array
Question 6 Which of these would be valid as the first line of a for loop?
Correct
b. for (x=1;x<6;x+=1)
d. for (x+=1;x<6;x=1)
Select one:
a. Georgina
c. Maria
d. Isabella
Select one:
a. 1
b. 12
c. 0
Question 10 How many times can you nest a code block within another?
Correct
b. None
c. As many times as you like (though enough nesting could run the browser out of memory)
d. Once