Exam 15: Control-Break Processing
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
Given the following pseudocode:
Start
FINAL-ACCUM
NAME-ACCUM
Read NAME, AMT
SAVE-NAME = NAME
DOWHILE not EOF
IF NAME SAVE-NAME THEN
Write NAME-ACCUM
FINAL-ACCUM = FINAL-ACCUM + NAME-ACCUM
NAME-ACCUM
(ELSE)
ENDIF
Write NAME, AMT
NAME-ACCUM NAME-ACCUM + AMT
Read NAME, AMT
ENDDO
Write FINAL-ACCUM
Stop
How many lines will be output if the following records are input?
John 20.00
John 30.00
Mary 10.00
Mary 6.00
Sue 8.00
Sue 5.00
(Multiple Choice)
5.0/5
(31)
In control-break processing,the input records must be in some type of sequence.
(True/False)
4.7/5
(34)
What type of report outputs one line of information for each input record processed?
(Multiple Choice)
4.8/5
(42)
An intermediate total and a final total can be computed using the same accumulator.
(True/False)
4.8/5
(41)
Given the following pseudocode:
Start
FINAL-ACCUM
NAME-ACCUM
Read NAME, AMT
SAVE-NAME NAME
DOWHILE not EOF
IF NAME SAVE-NAME THEN
Write NAME-ACCUM
FINAL-ACCUM = FINAL-ACCUM + NAME-ACCUM
NAME-ACCUM
ELSE
Write NAME, AMT
NAME-ACCUM NAME-ACCUM
ENDIF
Read NAME, AMT
ENDDO
Write FINAL-ACCUM
Stop
How many lines will be output if the following records are input?
John 20.00
John 30.00
Mary 10.00
Mary 6.00
Sue 8.00
Sue 5.00
(Multiple Choice)
4.8/5
(33)
We know that a control break has occurred when the last detail record in a group is processed.
(True/False)
4.8/5
(41)
An intermediate total reflects accumulated data about all the input records.
(True/False)
4.9/5
(30)
The detail-processing module is called each time the main processing loop is executed.
(True/False)
4.9/5
(39)
It is always better to output a detail-printed report since this type of report contains the most information.
(True/False)
4.9/5
(32)
Showing 21 - 30 of 30
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)