Last 4 years(2005-2008) question bank[HPU] for
File Processing & Business Applications [COBOL]
File Processing & Business Applications [COBOL]
Disclaimer : These questions are only the guide to preparation of final exams. It is recommended that you should study thoroughly according to the syllabus. You can pass this exam through mastering these questions. Questions in Part-C can come from both part-A and part-B of the syllabus. All the best.
Attempt 2 questions each from part-A and part-B. Part C is compulsory.[2+2+1]
Each question is 16 M [MM : 80]
[Part-A]
1. a) Explain the various types of file organisations used. Also explain their advantages and disadvantages.
b) Explain primary data and secondary data with the help of examples.
2. Write short notes on the following :
a) Data accuracy b) Data Editing
c) Data Verification d) Data capturing
e) Data Validation
3. a) What are the relative advantages and disadvantages of magnetic tapes and magnetic disks? Explain.
b) What are the major file operations used on files? Explain with examples.
4. a) Explain term updating in place? Which types of files permit updating and which does not? Why? Explain.
b) Explain the concept of master file and transaction file with examples.
5. What do you mean by file organisation? Discuss the various file organisation techniques in detail.
6. a) What are the various file operations? Briefly discuss with examples.
b) Differentiate between master file and transaction file.
7. What is the need of physical storage devices? Discuss the characteristics of any two physical storage devices.
8. a) What is the verification of data? How verification is different from validation and checking?
b) Discuss the data processing cycle with a suitable example.
9. Define files. How many types of file organisations are there? Explain each type in brief with examples.
10. Differentiate between the following :
a) Master File and transaction file.
b) Logical records and Physical Records.
c) Direct access storage devices and sequential access storage devices.
11. a) How is indexed sequential file similar to sequential file? How is it different? Explain various indexing techniques.
b) Explain the term updating in place. Which type of files permit updating and which does not? Why? Explain.
12. Explain the various methods of data collection, preparation, verification, editing and checking.
13. a) Define and differentiate between primary, secondary and foreign fields.
b) Differentiate between fixed and variable length records.
c) Differentiate between master and transaction files.
14. What do you mean by an indexed file? How is it different from a sequential file? Discuss the processing of an indexed file.
15. a) What is verification of data? How verification is different from validation and checking?
b) Discuss the data processing cycle with a suitable example.
16. Discuss in detail the physical characteristics of hard disks.
[Part-B]
1. a) Explain the use of REDEFINE, RENAME and MOVE verbs in COBOL with examples.
b) What is the difference between GOTO and PERFORM statements in COBOL? Also explain the various versions of PERFORM statement with examples.
2. a) What are the differences between ROUNDED and SIZE ERROR options in COBOL? Explain with examples.
b) What is the purpose of the DEPENDING phase in OCCURS clause? Explain with examples.
c) Why and when the JUSTIFIED clause should be used? Explain with examples.
3. How files are used in COBOL? What kinds of files can be used? Elaborate COBOL instruction to open, read, write and close these files with examples.
4. Write a COBOL program to sort a given list in descending order.
5. a) What is the structure of COBOL program?
b) Is there any optional division in a COBOL program ? In which order should the divisions appear in a COBOL program?
c) How many different types of constants are there in COBOL? What is the basic difference between a data name, a literal and a figurative constant?
6. a) What is the purpose of working-storage section?
b) What is meant by hierarchical structure in data description? Give an example.
c) What is a 77-Level data item?
7. Write a COBOL program to compute the salary of a group of employees in an organisation. The input data file DAT.txt has fields like Employee Name, Emp Code, Emp Dept, Basic Salary, HRA, DA, Deductions. The program should print the salary details of all the employees in the output file named PAY.txt.
8. Describe the following verbs with examples :
a) Compute b) If c) Multiply d) Open e) Close f) Write
9. What are the different forms of PERFORM statements available in COBOL ? Give example of each type.
10. Explain the various COBOL division s and their sections in detail. What is the purpose of each division and each section ? Explain with examples.
11. a) What is the purpose of OCCURS clause? Explain with examples.
b) What is the size error option? Explain.
c) What is the purpose of USAGE clause? Explain.
d) What is an Elementary Move and group move? Explain with examples.
12. a) What are the various forms of Multiply and Divide statements? Explain with examples.
b) Differentiate between Read and Accept verbs. Explain with examples.
c) How does RENAME compare with REDEFINE? Explain with examples.
d) What are the differences between Rounded and Size Error options? Explain.
13. Why COBOL is called a business- oriented language? Also discuss the various features of COBOL language for business community.
14. a) Is there any optional division in a COBOL program? In which order should the divisions appear in a COBOL program?
b) How many different types of constants are there in COBOL? What is the basic difference between a data name, a literal and a figurative constant?
c) What is the purpose of Working-Storage section?
d) What is meant by the Hierarchical structure in data description? Give an example.
15. What is the purpose of PERFORM statement? What are the different forms of this statement? Give the syntax of each and explain giving example.
[Part-C]
1. a) Why COBOL is a business oriented language? Give any four reasons.
b) Differentiate between a fixed length and a variable length record.
c) What are functions of ACCEPT and DISPLAY verbs in COBOL?
d) What is a paragraph name? How do you name a paragraph name in COBOL?
e) Nested Loops in COBOL.
2. Write short notes on :
a) Why COBOL is preferred for business applications?
b) Different forms of PERFORM statements.
c) Processing an indexed file in COBOL.
d) VALUE, OCCURS and JUSTIFIED clauses.
3. Write short notes on :
a) Differentiate between data and information.
b) Differentiate between fixed and variable length record.
c) What is the purpose of level number in data division?
d) What is a paragraph name? How do you name a paragraph?
e) What will be the value of B and C if initial values of B and C are 10 and 5 respectively?
i) Add A to B.
ii) Subtract A,B from 20.
iii) Divide 2 into A giving C.
iv) Move A to B,C.
4. a) What are arithmetic verbs? What is their function? Discuss the syntax and purpose of various arithmetic verbs in COBOL.
b) Describe the files supported by COBOL language. What is the difference between these files? Discuss the COBOL instructions for direct access and indexed files.
2. Write short notes on the following :
a) Data accuracy b) Data Editing
c) Data Verification d) Data capturing
e) Data Validation
3. a) What are the relative advantages and disadvantages of magnetic tapes and magnetic disks? Explain.
b) What are the major file operations used on files? Explain with examples.
4. a) Explain term updating in place? Which types of files permit updating and which does not? Why? Explain.
b) Explain the concept of master file and transaction file with examples.
5. What do you mean by file organisation? Discuss the various file organisation techniques in detail.
6. a) What are the various file operations? Briefly discuss with examples.
b) Differentiate between master file and transaction file.
7. What is the need of physical storage devices? Discuss the characteristics of any two physical storage devices.
8. a) What is the verification of data? How verification is different from validation and checking?
b) Discuss the data processing cycle with a suitable example.
9. Define files. How many types of file organisations are there? Explain each type in brief with examples.
10. Differentiate between the following :
a) Master File and transaction file.
b) Logical records and Physical Records.
c) Direct access storage devices and sequential access storage devices.
11. a) How is indexed sequential file similar to sequential file? How is it different? Explain various indexing techniques.
b) Explain the term updating in place. Which type of files permit updating and which does not? Why? Explain.
12. Explain the various methods of data collection, preparation, verification, editing and checking.
13. a) Define and differentiate between primary, secondary and foreign fields.
b) Differentiate between fixed and variable length records.
c) Differentiate between master and transaction files.
14. What do you mean by an indexed file? How is it different from a sequential file? Discuss the processing of an indexed file.
15. a) What is verification of data? How verification is different from validation and checking?
b) Discuss the data processing cycle with a suitable example.
16. Discuss in detail the physical characteristics of hard disks.
[Part-B]
1. a) Explain the use of REDEFINE, RENAME and MOVE verbs in COBOL with examples.
b) What is the difference between GOTO and PERFORM statements in COBOL? Also explain the various versions of PERFORM statement with examples.
2. a) What are the differences between ROUNDED and SIZE ERROR options in COBOL? Explain with examples.
b) What is the purpose of the DEPENDING phase in OCCURS clause? Explain with examples.
c) Why and when the JUSTIFIED clause should be used? Explain with examples.
3. How files are used in COBOL? What kinds of files can be used? Elaborate COBOL instruction to open, read, write and close these files with examples.
4. Write a COBOL program to sort a given list in descending order.
5. a) What is the structure of COBOL program?
b) Is there any optional division in a COBOL program ? In which order should the divisions appear in a COBOL program?
c) How many different types of constants are there in COBOL? What is the basic difference between a data name, a literal and a figurative constant?
6. a) What is the purpose of working-storage section?
b) What is meant by hierarchical structure in data description? Give an example.
c) What is a 77-Level data item?
7. Write a COBOL program to compute the salary of a group of employees in an organisation. The input data file DAT.txt has fields like Employee Name, Emp Code, Emp Dept, Basic Salary, HRA, DA, Deductions. The program should print the salary details of all the employees in the output file named PAY.txt.
8. Describe the following verbs with examples :
a) Compute b) If c) Multiply d) Open e) Close f) Write
9. What are the different forms of PERFORM statements available in COBOL ? Give example of each type.
10. Explain the various COBOL division s and their sections in detail. What is the purpose of each division and each section ? Explain with examples.
11. a) What is the purpose of OCCURS clause? Explain with examples.
b) What is the size error option? Explain.
c) What is the purpose of USAGE clause? Explain.
d) What is an Elementary Move and group move? Explain with examples.
12. a) What are the various forms of Multiply and Divide statements? Explain with examples.
b) Differentiate between Read and Accept verbs. Explain with examples.
c) How does RENAME compare with REDEFINE? Explain with examples.
d) What are the differences between Rounded and Size Error options? Explain.
13. Why COBOL is called a business- oriented language? Also discuss the various features of COBOL language for business community.
14. a) Is there any optional division in a COBOL program? In which order should the divisions appear in a COBOL program?
b) How many different types of constants are there in COBOL? What is the basic difference between a data name, a literal and a figurative constant?
c) What is the purpose of Working-Storage section?
d) What is meant by the Hierarchical structure in data description? Give an example.
15. What is the purpose of PERFORM statement? What are the different forms of this statement? Give the syntax of each and explain giving example.
[Part-C]
1. a) Why COBOL is a business oriented language? Give any four reasons.
b) Differentiate between a fixed length and a variable length record.
c) What are functions of ACCEPT and DISPLAY verbs in COBOL?
d) What is a paragraph name? How do you name a paragraph name in COBOL?
e) Nested Loops in COBOL.
2. Write short notes on :
a) Why COBOL is preferred for business applications?
b) Different forms of PERFORM statements.
c) Processing an indexed file in COBOL.
d) VALUE, OCCURS and JUSTIFIED clauses.
3. Write short notes on :
a) Differentiate between data and information.
b) Differentiate between fixed and variable length record.
c) What is the purpose of level number in data division?
d) What is a paragraph name? How do you name a paragraph?
e) What will be the value of B and C if initial values of B and C are 10 and 5 respectively?
i) Add A to B.
ii) Subtract A,B from 20.
iii) Divide 2 into A giving C.
iv) Move A to B,C.
4. a) What are arithmetic verbs? What is their function? Discuss the syntax and purpose of various arithmetic verbs in COBOL.
b) Describe the files supported by COBOL language. What is the difference between these files? Discuss the COBOL instructions for direct access and indexed files.
No comments:
Post a Comment