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 SAVE-NAME NAME
(ELSE)
ENDIF
Write NAME, AMT
NAME-ACCUM = NAME-ACCUM + AMT
Read NAME, AMT
ENDDO
Stop
If the following records are input,what is the value of NAME-ACCUM after the instructions corresponding to the pseudocode are executed?
John 20.00
John 30.00
Mary 10.00
Sue 50.00
A) 10
B) 50
C) 60
D) 110
Correct Answer:
Verified
Q13: Given the following pseudocode:
Start
FINAL-ACCUM
Q14: In control-break processing,the input records must be
Q15: Which of the following statements is a
Q16: What is the name of the entity
Q17: Given the following input records,how many lines
Q19: A group-printed report never outputs detail lines.
Q20: What type of report outputs only intermediate
Q21: Group-indicated reports generally appear less cluttered and
Q22: An intermediate total and a final total
Q23: We know that a control break has
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