Given the Following Pseudocode:
Start
FINAL-ACCUM NAME-ACCUM Read NAME, AMT
SAVE-NAME = NAME
DOWHILE Not EOF
IF
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
A) 7
B) 9
C) 10
D) 11
Correct Answer:
Verified
Q3: Given the following input records,how many lines
Q4: What type of report outputs one line
Q5: Given the following pseudocode:
Start
FINAL-ACCUM
Q6: Given the following input records,how many lines
Q7: It is always better to output a
Q9: Given the following pseudocode:
FINAL-ACCUM
Q10: A control break occurs when what type
Q11: A detail-printed report only outputs detail lines.
Q12: Given the following pseudocode:
Start
FINAL-ACCUM
Q13: Given the following pseudocode:
Start
FINAL-ACCUM
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents