IndiaStudyCenter.comWant to join in a course? Need suggestions?
Visit CollegeZones.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 June 2001
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 June 2001

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

June, 2001

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 the purpose of LABEL RECORD clause in COBOL? What are the options available with this cluase? In which division of COBOL is this clause used?

(b) A company stores name, address and basic pay for its full time employees and name, address, daily pay, days present for its part time employees. How can this information be stored in one file of COBOL?

(c) How can you test whether a number is positive or negative in COBOL? Is Nesting of IF statement allowed in COBOL? How can IF statement be used for termination of a loop? Explain by giving an example.

(d) How can COBOL check for missing data? Explain with the help of an example.

(e) What is the purpose of SEARCH and INDEXED BY clause in tables in COBOL? Explain with the help of an example.

(f) What is relative file organisation? How is it different from Indexed sequential file organisaton? Give an example of a situation where you would like to use relative file organisation.

2. An export unit has the following requirements:
The export unit keeps track of its raw material using a master file having the following structure:

 Item_no   10 characters
 Item_name   25 cahracters
 No._of_available_units  10 digits
 Maximum_expected_requirements 10 digits
 Stock_procured   10 digits

A transaction file is kept for issue of raw material :

 date    8 characters
 Item_no   10 characters
 issue/receipt   1 character
 quantity   10 digit

Write a program in COBOL for updating master file from transaction file. Incorporate necessary checking features in your program. Make suitable assumptions, if any.

3. A company has two manufacturing units: both manufacturing a number of products, some of them are common. Each unit keeps its produce status on a file having following structure:

 Produce file
 product_no  5 characters
 product_name  25 characters
 quantity   5 digits

Every month the products are sent to the common selling station along with the product file. Write a program in COBOL that takes the two files and produces a single product file for the selling office. Make suitable assumptios, if any.

4. Write a program in COBOL to create a master Index-sequential file for a Bank from the following transaction file:

 account_number  10 digits (key)
 account_holder_name 25 characters
 balance   10 digits
 last_updated_on  8 characters
Make suitable assumptions, if any.

5. Explain the following COBOL verbs with one example each:
(a) OCCURS clause
(b) SET statement
(c) INSPECT statement
(d) ACCEPT and READ statements
(e) Statements for MOVE and GROUP MOVE

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