Examlex

Solved

Given the Following Pseudocode:
Start
FINAL-ACCUM =0= 0 NAME-ACCUM =0= 0 Read NAME, AMT
SAVE-NAME

question 17

Multiple Choice

Given the following pseudocode:
Start
FINAL-ACCUM =0= 0
NAME-ACCUM =0= 0
Read NAME, AMT
SAVE-NAME == NAME
DOWHILE not EOF
IF NAME \neq SAVE-NAME THEN
Write NAME-ACCUM
FINAL-ACCUM == FINAL-ACCUM + NAME-ACCUM
NAME-ACCUM =0= 0
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


Definitions:

Résumés

Concise documents summarizing an individual's education, work experience, and skills, used as part of job applications.

Reciprocity

A social principle where mutual exchange benefits both parties involved, often seen in relationships and transactions.

Networking

Using your connections with other people to help you achieve a goal.

Marketing Oneself

The practice of promoting one's skills, abilities, and personal brand to potential employers or clients.

Related Questions