IndiaStudyCenter.comLooking for new friends?
Find one today at Asuku.com
Colleges & Universities | Distance Education | Admission Notifications | Entrance Exams | Course Syllabus | Question Papers
Home / Test Papers / IGNOU / CS03 File Structure and Programming in Cobol
CS03 File Structure and Programming in Cobol December 1999
Ask a question
Print this page
IGNOU CS-03

CS-03 Test Papers

IGNOU MCA

About IGNOU MCA Course

IGNOU MCA Syllabus

IGNOU MCA Assignments

IGNOU MCA Test Papers

IGNOU - BCA

About IGNOU - BCA Course

IGNOU - BCA Syllabus

IGNOU - BCA Assignments

IGNOU - BCA Test Papers

IGNOU Programs

IGNOU

Courses, Admissions & Eligibility

Admission to BA International Hospitality Administration - 2008-09 Session

Admission Procedure & Schedule

Colleges, Faculties & Departments

Who's Who at the University

Re-Admission Procedure

Study Centres in India

Partner Institutions outside India

Syllabus

IGNOU Test Papers (by Course)

IGNOU Test Papers (by Paper code)

Assignments

IGNOU Exam Timetables

Notifications, Circulars & Announcements 2008

Events, Seminars & Workshops

Examination Results

IGNOU Improvement tests

Test Papers / Previous Question Papers of IGNOU CS03 File Structure and Programming in Cobol December 1999

PGDCA / MCA (I Yr) / BCA
Term-End Examination

December, 1999

CS03 : File Structure and Programming in Cobol

Time: 2 hours
Maximum Marks: 60

Note : Question number 1 is compulsory. Attempt any three questions from the rest.

1. (a) What is Y2K problem? Why is this problem occuring with many COBOL programs? Propose a solution to this problem, from the viewpoint of COBOL.

(b) How can SORTING of data in a data file be done in COBOL? Suppose the data is in an array of COBOL then how will the SORTING be done?

(c) Compare and contrast the characteristics of relative file organisation with indexed sequential file organisation. Explain the applications where you will perfer relative file organisation in comparison to indexed sequential file organisation.

(d) What is the use of SEARCH statement in COBOL? Explain the working logic of this statement. Give example of this statement.

(e) What are the level 77 and 88 entries? Can level 77 or 88 entry be replaced by normal record entries? Give reasons for your answer.

(f) What are the usage of STRING and UNSTRING statements of COBOL? Explain with the help of one example each.

2. Write a program in COBOL for creating an indexed master file for a banking environment from the following files:

Account balance file
Account No. 5 digits
Balance 8 digits
Account holder Name 25 characters
Transaction file of the day
Account No. 5 digits
Wthdrawal or Deposit 1 digits code
Amount 6 digits

The format for index master file is

Account No. 5 digits
Account holder Name 25 characters

Present Balance 8 digits (obtained from using Account balance and Transaction file)

3 ABC Video library maintains its records in a COBOL file of following format :

Video cassette file : (Not sorted)
Name of Video 25 characters
Video Code No. 5 digits
Caste 25 characters
No. of cassetters 2 digits

The library had two offices both having similar file structures, but due to paucity of funds both the offices are being merged. Write the COBOL program to create one video cassette file from the two files of the offices. Pleace note there may be some cassettes which are availabel in both the libraries, so take necessary precautions while making single video cassette file.

4 Write a program in COBOL to print total slaes of each slaesperson from the following transaction file:

Name : SALES TRANSACTION (Not sorted)
Salesperson No. : 2 digits
Salesperson Name : 25 characters
Amount of Sale : 8 digits

Please note the following points while programming:

* There are 20 slaespersons numbered 1 to 20
* There may be numerous records per salesman
* Input records are not sorted
* The output will include individual sales record and their total.

5 Explain the following COBOL verbs with the help of one example each

(a) INSPECT statement
(b) SYNCHRONIZED clause
(c) REDEFINES clause
(d) SIZE ERROR option
(e) While loop implementation using PERFROM

Most popular pages

Business Schools - Engineering Colleges - Medical & Nursing Admissions - BEd in Distance mode - Journalism & Media Studies - Forensic Science

Search this site

Enter a detailed keyword. Ex: Question Papers of IGNOU MCA Ist Semester