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


Definitions:

Semiannually

Occurring twice a year; a term often used to describe the frequency of interest payment, dividends, or other financial events.

Fisher Formula

An equation used in economics and finance that describes the relationship between nominal interest rates, real interest rates, and the inflation rate.

Real Rate

is the interest rate adjusted for inflation, reflecting the true cost of borrowing or real yield on an investment.

Interest Rate Risk

The potential for investment value fluctuations due to changes in the prevailing interest rates.

Related Questions