Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The ABC Bank needs a program to print a report on customer checks cashed for a s

ID: 3593942 • Letter: T

Question

The ABC Bank needs a program to print a report on customer checks cashed for a specific month. The input to this program will be customer records sorted on customer account numbers. Each customer input record will contain the following:

        COLUMN                  DATA                              DATA DIVISION NAME

1-5                        Account Number                ACCOUNT-IN

6-25                      Customer Name                 NAME-IN

26-30                    Check Number                   CHECK-NUM-IN

31-36                    Check Dollar Amount          CHECK-AMT-IN

The printed output record will contain the following header:

MONTHLY CHECK CASHING REPORT FOR ACCOUNT: ACCOUNT-IN FOR CUSTOMER: NAME-IN               

When writing a controlled break solution to the above problem, and after completing processing of the first customer account when would the second customer account number be saved?

A. When the control break occurs.

B. When the control field equals the input account number

C. When the control field does not equal the input account number

D. All of the above are correct.

E. Both "A" and "C" are correct.

A. When the control break occurs.

B. When the control field equals the input account number

C. When the control field does not equal the input account number

D. All of the above are correct.

E. Both "A" and "C" are correct.

Explanation / Answer

Answer: E. Both "A" and "C" are correct.

A. When the control break occurs.

C. When the control field does not equal the input account number