Examlex

Solved

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

question 2

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 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

Understand the principles of natural selection and its relevance to human evolution.
Understand the basic functions and characteristics of money.
Identify the regulatory bodies and mechanisms governing banks and their significance.
Recognize the impact of interest rates and incomes on the demand for money.

Definitions:

Related Questions