MCA Assignements : CS-03 TMA File Structure and Programming in COBOL

MCA Assignements : CS-03 TMA File Structure and Programming in COBOL

Course Code : CS-03
Course Title : File Structure and Programming in
COBOL
Assignment Number : MCA(2)-3/TMA/04
Maximum Marks : 10
Last Date of Submission : 15th October, 2004

This is a Tutor Marked Assignment. There are two questions in this Assignment. Answer both the questions. Each question carries equal weightage. You may use illustrations and diagrams to enhance explanations. Please go through the guidelines regarding assignments given in the Starter kit for the format of presentation.

Question 1:

Compare and contrast the features/advantages/disadvantages of various file organisations in COBOL? Suggest an application for each file organisation. Create a Relative file for the following input records (Write the Program. Make suitable assumptions, if needed).

Input File:

File Name: client_details
Organisation: Relative
File Format:
1-10 Client Code
11-35 Client name
36-50 Client Phone
51-70 Business Volume
71-72 Status (Project is On, Project is over, Negotiation for project is on, Clients having bad track record etc.)
73-80 Not used

The created relative file should be used for the following searching:
To ascertain the status of a client, prior to a project negotiation.
To display the contact phone of a client.

Write the COBOL program for the above.

Question 2:

Write a program in COBOL that sorts the records in a student file (assume suitable structure an organisation) on the alphabetical order of names. Make and state suitable assumptions.

Comment for MCA Assignements : CS-03 TMA File Structure and Programming in COBOL
—————————————————————————————–
about computer science
plz give me the starter kit of mca old syllabus of the year 2003
—————————————————————————————–

Home > Tutor Mark Assignments - MCA > MCA Assignements : CS-03 TMA File Structure and Programming in COBOL
Comments are closed.