India Study Center.com
Home / Model Test Papers / B.Sc / Final Year / Computers Paper 3 / Model 5 Search these pages / web / Questions/Enquries


1.
(a) Enumerate the four divisions of COBOL. Briefly describe the functions of each of the divisions (10 M)

(b) Pick incorrect data names from the following set. Give reasons why they are incorrect. (5 M)
i) X-12345-485
ii) NET AMOUNT
iii) GUPTA'S-ROLL-NO
iv) 13-10-8056
v) 12 DEMAND

(c) Distinguish between syntax of a language and semantics of a language (5 M).

2.
(a) What are the different sections in DATA DIVISIONS ? What is the purpose of each section ?

(b) Write the description of an input file whose records contain the following information :
Serial No : 5 digits
Identification No : 3 Alphates 3 Digits
Name : 25 charecters
Pay (in rupees and paise) : Maximum salary Rs. 9,999
Tax : Maximum 50 percent of salary rounded to rupees
Other deductions : Upto Rs. 9,999.

3.
(a) Give in genral the method of describing the structure of a tree in COBOL. ( 8 M )
(b) Explain the difference between rounding-off and truncation with an example. ( 4 M )
(c) Explain the control structures with examples. ( 8 M )

4.
(a) Distinguish clearly between the terms "sequential file organisation", "Indexed file organisation" and "Relative file organisation".
(b) Write briefly about the usage of REDEFINES clause.

5.
(a) The payroll data of a company has the following information :
Columns		Name of Field			Nature of field

1-9		Identification No. of Employee		X(3)9(6)
10-34		Employee Name			X(25)
35-38		Hourly pay rate			99V99
39-80		Miscl. Information			X(42)

The Company decides to increase the hourly rate of employees, those getting upto Rs. 5 by 25 percent, those getting above Rs. 5 and upto Rs. 8 by 20 percent, those getting above Rs. 8 and upto Rs. 12 by 15 percent, and the rest by 10 percent. Write a program to change the hourly rate field in a payroll file and write it out.

6. Transactions in a transaction file may be of the following types :
Addition of new records to master file
Deletion of existing records in master file
transfer, i.e changing value of records key
Changing non-key fields of master file records

If all the above 4 types of transactions are present for a given key value, in what order should they be processed in your program ? Give transaction codes to the above types of transactions so that the code field can be used as secondary key in sorting.

© K K Software Services. All Rights Reserved and are those of their respective Companies.
Contact Us | Disclaimer | Advertising Info