Exam 5: Dowhile Control Structuretrailer Record Logic
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
The loop read in a loop controlled using trailer record logic is placed
(Multiple Choice)
4.8/5
(36)
In trailer record logic the number of times the loop will be executed is preset.
(True/False)
4.7/5
(29)
What value of COUNT will be output after the instructions corresponding to the following pseudocode are executed,assuming 7 values - 5,6,7,3,0,4,2 - are input,one on each record?
COUNT =0 SUM =0 VALUE =1 DOWHILE VALUE >0 Read VALUE Write Value SUM = SUM + VALUE COUNT = COUNT +1
ENDDO
Write SUM, COUNT
(Multiple Choice)
4.8/5
(39)
What type of line is placed within the loop and outputs information about an individual record?
(Multiple Choice)
4.9/5
(29)
What statement(s)are unnecessary in the following pseudocode?
SUM
Read VALUE
DOWHILE VALUE
SUM SUM + VALUE
COUNT COUNT + 1
Read VALUE
ENDDO
Write SUM
(Multiple Choice)
4.7/5
(40)
A total line is a line of output associated with one input record.
(True/False)
4.8/5
(33)
How many times will the loop steps in the instructions corresponding to the following pseudocode be executed,assuming 5 values - 0,8,6,3,0 - are input,one on each record?
Read SCORE
DOWHILE SCORE
Write SCORE
Read SCORE
ENDDO
(Multiple Choice)
4.9/5
(46)
The priming read is usually placed as the first step within the loop.
(True/False)
4.9/5
(38)
The empty file condition can occur in both header record logic and trailer record logic.
(True/False)
4.8/5
(34)
Showing 21 - 30 of 30
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)