Exam 4: Dowhile Control Structurecounter-Controlled Loops
Exam 1: Introduction to Structured Design30 Questions
Exam 2: Simple Sequence Control Structure30 Questions
Exam 3: Ifthenelse Control Structure30 Questions
Exam 4: Dowhile Control Structurecounter-Controlled Loops30 Questions
Exam 5: Dowhile Control Structuretrailer Record Logic30 Questions
Exam 6: Modularization30 Questions
Exam 7: Case Control Structure30 Questions
Exam 8: Dountil Control Structure30 Questions
Exam 9: Introduction to Arrays30 Questions
Exam 10: Introduction to Object-Oriented Design30 Questions
Exam 11: Inheritance30 Questions
Exam 12: Other Class and Object Relationships30 Questions
Exam 13: Array Applications30 Questions
Exam 14: Master File Update Processing30 Questions
Exam 15: Control-Break Processing30 Questions
Select questions type
To create a properly formed DOWHILE loop you must place the loop steps in the YES path of the loop.
(True/False)
4.8/5
(39)
The steps after the loop are always placed on the line after ENDDO and are indented a few positions for clarity.
(True/False)
4.7/5
(29)
If the value input for START is 8,how many times will the instructions within the loop below be executed?
Read START
COUNT START
DOWHILE COUNT START COUNT COUNT - 1 Write COUNT
ENDDO
(Multiple Choice)
4.8/5
(28)
The test for the No-Data condition is implemented in program design with a(n)
(Multiple Choice)
4.9/5
(39)
What is the value of ANSWER after the instructions corresponding to the following pseudocode are executed?
COUNT =5 SUM =100 DOWHILE COUNT >5 SUM = SUM +5 COUNT = COUNT +1 ENDDO ANSWER = SUM
(Multiple Choice)
4.9/5
(41)
If the value input for START is 8,how many times will the instructions within the loop below be executed?
Read START
COUNT START
DOWHILE COUNT START
COUNT COUNT - 1
Write COUNT
ENDDO
(Multiple Choice)
4.7/5
(33)
How many values will be output when the instructions corresponding to the following pseudocode are executed?
COUNT
DOWHILE COUNT
COUNT COUNT + 1
Write ACCUM
Write ACCUM
(Multiple Choice)
4.8/5
(44)
A counter used to control a loop can be either incremented or decremented.
(True/False)
4.8/5
(41)
A READ statement used to input a header record must be placed within the loop that a value in the header record is controlling.
(True/False)
4.8/5
(38)
Showing 21 - 30 of 30
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)