Answer the following statements true (T) or false (F)
1. In a For loop the programmer must know the exact number of iterations the loop must perform before writing the code.
2. While and For loops are considered pretest loops because they test the condition before processing the statement or statements in the loop body.
3. A condition-controlled loop can be used to iterate the body of the loop a specific number of times.
4. In the following pseudocode counter is the accumulator.
For counter = 1 to 6
Set numberWidgets = numberWidgets + counter
End For
1. FALSE
2. TRUE
3. TRUE
4. FALSE
You might also like to view...
Where do you find the Trust Center?
A) Insert tab B) Excel Options C) Developer tab D) View tab
What is the outcome of this command: wbadmin start backup –backupTarget:f: -include:c: - quiet
a. Contents of the F: drive are backed up onto the C: drive. b. Contents of the C: drive are backed up onto the F: drive. c. The Task Scheduler application utility opens, and you must select the time of the backup. d. None of the above.