COBOL
9 and 10
student assignment 3-7
Student Assignments 63 9. A condition name is defined by a(n) a. 01 level entry b. 88 level entry c. elementary item d. reserved word 10. Execution of the logic in a COBOL peogram begins with the a. first paragraph in the IDENTIFICATION DIVISION b. first item defined in the DATA DIVISION c. first statement in the first paragraph of the PROCEDURE DIVISION d, program being submitted to the compiler Student Assignment 3: Coding an IDENTIFICATION DIVISION Instructions: Code an IDENTIFICATION DIVISION that contains only a PROGRAM-ID paragraph, AUTHOR does a weekly payroll calculation for workers paid on an hourly basis at the ABC Corporation. Student Assignment 4: Coding & SELECT Statement Instructions: A file with the system name, SALESDAT is stored on disk. A COBOL program is to reference this file using the name, SALES-TRANSACTION-FILE. Code the required SELECT.statement. Student Assignment 5: Coding an Fo Entry Instructions: Code an FD entry and associated 01 recoed-layout for STUDENT-FILE given the following infoemation regarding the fields found in each record Student ID 7 bytes, alphanumeric Student Name 20 bytes, alphanumeric Student Address 20 bytes, alphanumeric Student Status 2 bytes, alphanumeric Student lncome 5 bytes, numeric Student Assignment 6: Coding PERFORW Statements Instructions: Code a paragraph named B-100-DO-IT that transfers control to B-2 B-210 D0 IT-OVER, and finally to B-220-DONE. Control should be transferred to B-210-DO-IT-OVER so the program keeps looping back to B-210-D0-IT-OVER until the condition, ALL-RIGHT NoW, is true. DO-IT-AGAIN, dento Student Assinment 7: Coding an OPEN anda READ Statement Instructions: Code an OPEN statement and a READ statement for the file named STUDENT-FILE. Move Y t SW-END-OF-FILE in the AT END clause of the READ statement. O BACK FORWARD