Business Data Processing using COBOL.pdf - Google Drive

1 downloads 142 Views 63KB Size Report
Business Data Processing using COBOL.pdf. Business Data Processing using COBOL.pdf. Open. Extract. Open with. Sign In. M
PG – 1032

*PG1032*

I Semester M.C.A. Examination, January 2015 (Y2K5 Scheme) COMPUTER SCIENCE 1MCA – 3 : Business Data Processing using COBOL Time : 3 Hours

Max. Marks : 80

Instruction : Answer any five full questions, selecting atleast two questions from each Section. SECTION – A 1. a) Discuss COBOL coding sheet. “COBOL is a business oriented language” explain. b) List and explain the four divisions of COBOL.

(8+8)

2. a) Explain the following clauses with examples i) PICTURE ii) VALUE. b) Discuss the different types of PERFORM statement in COBOL.

(6+10)

3. a) Explain the utility of special level numbers 66, 77 and 88. b) Explain the following COBOL verbs with examples. i) DIVIDE with ROUNDED and ON SIZE ERROR option ii) MOVE.

(4+12)

4. a) Write a COBOL program to accept ‘n’ numbers and print the largest and smallest of these ‘n’ numbers. b) Explain the functions of following COBOL statements with examples each. i) SUBTRACT ii) DIVIDE. c) Discuss data validation in COBOL.

(6+6+4) P.T.O.

*PG1032*

PG – 1032 SECTION – B 5. a) Discuss SORT and MERGE verbs with examples.

b) Discuss variable length tables and multidimensional tables in COBOL.

(8+8)

6. a) Explain different types of file organization techniques in COBOL. b) Each record of a student file contains Roll no., Name, Marks in five subjects. Write a program to create a sequential file containing Roll No., Name, AVG, Result. Compute the AVG and RESULT as follows : Condition

Result

IF

AVG < 40

fail

IF

40 ≤ AVG < 50

pass

IF

50 ≤ AVG < 60

II class

IF

AVG ≥ 60

I class

(8+8)

7. a) Explain the following COBOL verbs with examples each i) RENAME clause ii) REDEFINES clause. b) Discuss string manipulation features of COBOL. c) Write a COBOL program to search for an integer number in a file using Binary search. (6+4+6) 8. a) A worker is paid for overtime hours at a rate which is twice the normal rate. The hours worked in excess of 48 hours in a week is considered to be the overtime hours. Compute the total wages of workers assuming that RATE and WEEKLY contain normal rates and total hour worked respectively in a week. Assuming the required fields and positions, write a COBOL program to read the records from the input file and print the report. b) Write a note on defining classes and an object in COBOL. ———————

(10+6)

Suggest Documents