if the following records are input, what is the value of NAME-ACCUM after the instructions corresponding to the pseudocode are executed?

Given the following pseudocode:


```
Start
FINAL-ACCUM = 0
NAME-ACCUM = 0
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 = 0
SAVE-NAME = NAME
(ELSE)
ENDIF
Write NAME, AMT
NAME-ACCUM = NAME-ACCUM + AMT
Read NAME, AMT
ENDDO
Stop

```

John 20.00
John 30.00
Mary 10.00
Sue 50.00

a) 10
b) 50
c) 60
d) 110


b) 50

Computer Science & Information Technology

You might also like to view...

In Alice, a turn(FORWARD, ...) or turn(BACKWARD, ...) message changes an object's pitch.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The Themes gallery is displayed by clicking Themes in the:

A) Themes group on the HOME tab. B) Styles group on the HOME tab. C) Themes group on the PAGE LAYOUT tab. D) Styles group on the PAGE LAYOUT tab.

Computer Science & Information Technology

The software for Red Hat Fedora Linux is distributed free of charge.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The ________ has the largest potential capacity of any storage device.

What will be an ideal response?

Computer Science & Information Technology