You may test an initial condition of a posttest loop by ____.
A. using a nested loop for the initial condition
B. placing the posttest loop inside a selection structure
C. resetting the counter variable on each pass of the loop
D. initializing all loop variables to zero
Answer: B
You might also like to view...
Which of the following statements about virtual functions is false?
a. They allow the program to select the correct implementation at execution time. b. They can use either static or dynamic binding, depending on the handles on which the functions are called. c. They do not remain virtual down the inheritance hierarchy. d. They can be called using the dot operator.
What is the variable name of the last, legally declared element in the array int Z[100];?
A. Z[99] B. Z[100] C. Z D. Z[0]
A wireless LAN has a very limited range of only about 10 to 100 meters, roughly 30 to 300 feet
Indicate whether the statement is true or false
for…inloops do not follow a specific order because they accept properties that can be listed and read out in any order. If order is important, you can use a(n) _____.
A. object literal B. Arrayobject C. prototype chain D. Objectconstructor