University of Madras
Chepauk, Chennai - 600 005.
Chepauk, Chennai - 600 005.
Semester: III Year: Second Year Time: Three hours Maximum: 100 marks
Month & Year of Examination November - 2012
PART A - (10 * 3 = 30 marks)
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
1.What is the need of IDENTIFICATION division?
2.Write a note on: SPECIAL-NAMES paragraph.
3.Define literal with example.
4.What are the two forms of ADD verb?
5.What is the purpose of class condition?
6.Give the syntax of ALTER statement and explain with an example.
7.Write a note on: OCCURS clause.
8.With the general format, explain PERFORM with VARYING option.
9.What are the rules to be specified for SORT verb?
10.Differentiate between linear search and binary search.
11.Give the rules for multidimensional tables.
12.Define the following:
(a) Data Control
(b) File title
(c) Unlabelled files
2.Write a note on: SPECIAL-NAMES paragraph.
3.Define literal with example.
4.What are the two forms of ADD verb?
5.What is the purpose of class condition?
6.Give the syntax of ALTER statement and explain with an example.
7.Write a note on: OCCURS clause.
8.With the general format, explain PERFORM with VARYING option.
9.What are the rules to be specified for SORT verb?
10.Differentiate between linear search and binary search.
11.Give the rules for multidimensional tables.
12.Define the following:
(a) Data Control
(b) File title
(c) Unlabelled files
PART B - (5 * 6 = 30 marks)
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.
13. Describe the level structure of DATA division.
14. Explain the Input and Output verbs with the format and example.
15. Explain the structure of PROCEDURE division.
16. Briefly describe the nested IF sentence with example and flowchart.
17. Describe the statements for sequential file access.
18. Write about notes on sorting a table.
19. Write a COBOL program to handle an indexed file.
14. Explain the Input and Output verbs with the format and example.
15. Explain the structure of PROCEDURE division.
16. Briefly describe the nested IF sentence with example and flowchart.
17. Describe the statements for sequential file access.
18. Write about notes on sorting a table.
19. Write a COBOL program to handle an indexed file.
PART C - (4 * 10 = 40 marks)
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
21.Describe the sections and paragraph in the ENVIRONMENT DIVISION in detail.
22.Explain the statements available in COBOL to perform arithmetic operations with example.
23.Write short notes on : PROCEDURE DIVISION statements in report writing.
24.Develop a sample validation program for calculation of check-digit modulus-11 method.
25.Explain in detail file description for fixed-length records.
22.Explain the statements available in COBOL to perform arithmetic operations with example.
23.Write short notes on : PROCEDURE DIVISION statements in report writing.
24.Develop a sample validation program for calculation of check-digit modulus-11 method.
25.Explain in detail file description for fixed-length records.
Month & Year of Examination November - 2011
PART A - (10 * 3 = 30 marks)
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
1.Define user defined words in COBOL.
2.State the role of Dollar ($) and comma (,) as editing picture characters with examples.
3.Write the syntax of GO TO – DEPENDING on statement with an example.
4.Write the use of ROUNDED option with an example.
5.What is OCCURS clause? Give an example.
6.Mention the function of INSPECT verb with an example.
7.What is sequential fields?
8.Write the use of SORT verb with an example.
9.Differentiate Index and Relative file.
10.Explain the purpose of Report writer.
11.What is the picture clause?
12.What is the use of Level Numbers?
2.State the role of Dollar ($) and comma (,) as editing picture characters with examples.
3.Write the syntax of GO TO – DEPENDING on statement with an example.
4.Write the use of ROUNDED option with an example.
5.What is OCCURS clause? Give an example.
6.Mention the function of INSPECT verb with an example.
7.What is sequential fields?
8.Write the use of SORT verb with an example.
9.Differentiate Index and Relative file.
10.Explain the purpose of Report writer.
11.What is the picture clause?
12.What is the use of Level Numbers?
PART B - (5 * 6 = 30 marks)
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.
13. Explain the features of ENVIRONMENT DIVISION.
14. Explain the purpose of any three editing picture characters with suitable examples.
15. Explain Nested IF sentence with an example.
16. What are inline functions? Explain with example.
17. Explain PERFORM with VARYING and AFTER options with an example.
18. Explain SET and SEARCH verbs with suitable examples.
19. Explain the syntax of WRITE and REWRITE statements for sequential files with examples.
20. Explain how merging of Files is handled in COBOL.
14. Explain the purpose of any three editing picture characters with suitable examples.
15. Explain Nested IF sentence with an example.
16. What are inline functions? Explain with example.
17. Explain PERFORM with VARYING and AFTER options with an example.
18. Explain SET and SEARCH verbs with suitable examples.
19. Explain the syntax of WRITE and REWRITE statements for sequential files with examples.
20. Explain how merging of Files is handled in COBOL.
PART C - (4 * 10 = 40 marks)
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
21.Explain any two Input and Output verbs in COBOL. Give examples.
22.Write a Program in COBOL to compute the Simple Interest.
23.Explain RENAMES clause with suitable example.
24.Explain briefly on Table Handling in COBOL.
25.Write a program in COBOL to count and print the no. of vowels in a given text.
26.Explain briefly on the various access modes in sequential file organization.
22.Write a Program in COBOL to compute the Simple Interest.
23.Explain RENAMES clause with suitable example.
24.Explain briefly on Table Handling in COBOL.
25.Write a program in COBOL to count and print the no. of vowels in a given text.
26.Explain briefly on the various access modes in sequential file organization.
Month & Year of Examination April - 2009
PART A - (10 * 3 = 30 marks)
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
1. What is data name and literal in COBOL.
2. Write any three advantages of programming language.
3.How to accept input values in COBOL.
4. Write down the rules for constructing arithmetic expression.
5. What is the FORMAT of designing a Report in COBOL.
6. Write down the usage of SIGN condition.
7. Comment on PERFORM in COBOL.
8. Define subscripted data name.
9. Write down the advantages of variable length records.
10.Define FILE and RECORD.
11.What is the use of SD, FD entry in COBOL?
12.Write about indexing.
2. Write any three advantages of programming language.
3.How to accept input values in COBOL.
4. Write down the rules for constructing arithmetic expression.
5. What is the FORMAT of designing a Report in COBOL.
6. Write down the usage of SIGN condition.
7. Comment on PERFORM in COBOL.
8. Define subscripted data name.
9. Write down the advantages of variable length records.
10.Define FILE and RECORD.
11.What is the use of SD, FD entry in COBOL?
12.Write about indexing.
PART A - (10 * 3 = 30 marks)
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words..
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words..
13.What is the use of seventh column while entering a COBOL program?
14.Write down the difference between grout items and elementary items.
15.List out the sections of Data Division. Explain any one with example.
16.Write a COBOL program to check whether given number is positive, negative or zero.
17.How to validate a Data? Explain.
18.Write down the rules applied for the OCCURS clause.
19.What are the types of file organization in COBOL?
14.Write down the difference between grout items and elementary items.
15.List out the sections of Data Division. Explain any one with example.
16.Write a COBOL program to check whether given number is positive, negative or zero.
17.How to validate a Data? Explain.
18.Write down the rules applied for the OCCURS clause.
19.What are the types of file organization in COBOL?
PART C - (4 * 10 = 40 marks)
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
20.Explain in detail about editing characters available for numeric data.
21.Explain in detail about designing and writing control Break programs with example.
22.Explain about JUSTIFIED, REDEFINES and RENAMES clause with examples.
23.Explain in detail about the arithmetic verbs with syntax including examples.
24.Discuss with example with different forms of PERFORM statements used in COBOL.
25.Write a COBOL to create and also processing of "STUDENT MARK LIST" preparation. Calculate Total, Average and Result of a student during processing of a file.
21.Explain in detail about designing and writing control Break programs with example.
22.Explain about JUSTIFIED, REDEFINES and RENAMES clause with examples.
23.Explain in detail about the arithmetic verbs with syntax including examples.
24.Discuss with example with different forms of PERFORM statements used in COBOL.
25.Write a COBOL to create and also processing of "STUDENT MARK LIST" preparation. Calculate Total, Average and Result of a student during processing of a file.
Month & Year of Examination November- 2009
PART A - (10 * 3 = 30 marks)
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
1.Discuss the general syntax of ENVIRONMENT DIVISION with examples.
2.Write the general syntax of the DATA DIVISION.
3.What is level structure? Give examples.
4.Write the Debug-line, name and contents with examples.
5.Write down any three testing procedures.
6.Explain the general format of the ACCEPT and DISPLAY statements.
7.Describe the format of SEARCH verb with examples.
8.Explain the compute and set verbs in COBOL with examples.
9.Explain the syntax of the SORT verb with an example.
10.Describe 'Rename Clause' with an example.
11.Write down the general format of INSPECT verb with an example.
12.Give the format of EXAMINE statement with an example.
2.Write the general syntax of the DATA DIVISION.
3.What is level structure? Give examples.
4.Write the Debug-line, name and contents with examples.
5.Write down any three testing procedures.
6.Explain the general format of the ACCEPT and DISPLAY statements.
7.Describe the format of SEARCH verb with examples.
8.Explain the compute and set verbs in COBOL with examples.
9.Explain the syntax of the SORT verb with an example.
10.Describe 'Rename Clause' with an example.
11.Write down the general format of INSPECT verb with an example.
12.Give the format of EXAMINE statement with an example.
PART B - (5 * 6 = 30 marks)
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.
13. Explain the various editing characters in picture clause with examples.
14.Describe the following verbs with examples
(a) READ
(b) WRITE
(c) CLOSE
15. Explain the Bottom-up program development and testing in detail.
16. Explain how to use COBOL coding sheet.
17.What are the various types of MOVE statements available in COBOL? Explain with examples.
18.Write a COBOL program to convert a given temperature in Fahrenheit to Celsius.
19.Explain with suitable example, the form and use of IF statement in COBOL.
14.Describe the following verbs with examples
(a) READ
(b) WRITE
(c) CLOSE
15. Explain the Bottom-up program development and testing in detail.
16. Explain how to use COBOL coding sheet.
17.What are the various types of MOVE statements available in COBOL? Explain with examples.
18.Write a COBOL program to convert a given temperature in Fahrenheit to Celsius.
19.Explain with suitable example, the form and use of IF statement in COBOL.
PART C - (4 * 10 = 40 marks)
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
20.Write a COBOL program for mark processing for the following condition (assume 5 subjects)
(a) If a student scores 75% in all subjects declared a pass with "distinction"
(b) If a student scores 60% and less than 75% in all subjects declared a pass with "First Class"
(c) If a student scores marks less than 60% and greater than or equal to 40% in all subjects declared on pass
with ORDINARY"
(d) If a student scores marks less than 40% in any one of the subjects declared the result "FAIL"
21. Describe all possible formats of SUBTRACT and DIVIDE statements with examples.
22. (a) Describe procedure division in COBOL.
(b) Explain ROUNDED option ON SIZE ERROR option with suitable examples
23. (a) Explain the syntax and action of OCCURS clause with an example.
(b) Write a COBOL program using OCCURS clause to find and print all the even numbers of the given any 50
numbers.
24.Write a simple COBOL program to prepare a pay bill for a company, assume that the employees data such as employee number, name, basic-pay, LIC premium are stored as a line sequential file. If basic-pay is less than 3500 than DA is 150, HRA is Rs. 300, otherwise they are 125% and Rs. 350.
25.Write a COBOL program for inventory maintenance. Assume that we have a master and transaction file.
(a) If a student scores 75% in all subjects declared a pass with "distinction"
(b) If a student scores 60% and less than 75% in all subjects declared a pass with "First Class"
(c) If a student scores marks less than 60% and greater than or equal to 40% in all subjects declared on pass
with ORDINARY"
(d) If a student scores marks less than 40% in any one of the subjects declared the result "FAIL"
21. Describe all possible formats of SUBTRACT and DIVIDE statements with examples.
22. (a) Describe procedure division in COBOL.
(b) Explain ROUNDED option ON SIZE ERROR option with suitable examples
23. (a) Explain the syntax and action of OCCURS clause with an example.
(b) Write a COBOL program using OCCURS clause to find and print all the even numbers of the given any 50
numbers.
24.Write a simple COBOL program to prepare a pay bill for a company, assume that the employees data such as employee number, name, basic-pay, LIC premium are stored as a line sequential file. If basic-pay is less than 3500 than DA is 150, HRA is Rs. 300, otherwise they are 125% and Rs. 350.
25.Write a COBOL program for inventory maintenance. Assume that we have a master and transaction file.
Month & Year of Examination
April - 2005
April - 2005
PART A - (10 x 3 = 30 marks)
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
1.What do you mean by literal? Give example.
2.What is the necessity of environment division?
3.Both the input and output file defined in pay date processing COBOL program and assigned to disk. The
program is run on the HCL system. Write the suitable environment division.
4.What is the necessity of level number?
5.Give the syntax of move verb. With example.
6.What are the rules for forming a COBOL words.
7.What do you mean by SET verb?
8.Give the syntax of GOTO….DEPENDING ON.
9.What do you mean by Group data item?
10.Write the syntax of MERGE verb.
11.What is the use of COMPUTE verb?
12.What is the necessity of working storage section?
2.What is the necessity of environment division?
3.Both the input and output file defined in pay date processing COBOL program and assigned to disk. The
program is run on the HCL system. Write the suitable environment division.
4.What is the necessity of level number?
5.Give the syntax of move verb. With example.
6.What are the rules for forming a COBOL words.
7.What do you mean by SET verb?
8.Give the syntax of GOTO….DEPENDING ON.
9.What do you mean by Group data item?
10.Write the syntax of MERGE verb.
11.What is the use of COMPUTE verb?
12.What is the necessity of working storage section?
13. Differentiate between user-defined words and reserved words.
14. Describe the use of ACCEPT and DISPLAY statement in COBOL.
15. Explain any two types of conditions with example.
16. Describe the structure of COBOL program.
17. What do you mean by editing PICTURE CLAUSES? with example.
18. Write a COBOL program to find whether a given positive integer is odd or even.
19. Write a COBOL program to find the biggest among three numbers.
14. Describe the use of ACCEPT and DISPLAY statement in COBOL.
15. Explain any two types of conditions with example.
16. Describe the structure of COBOL program.
17. What do you mean by editing PICTURE CLAUSES? with example.
18. Write a COBOL program to find whether a given positive integer is odd or even.
19. Write a COBOL program to find the biggest among three numbers.
20. Write short notes on OPEN, CLOSE, READ and WRITE verb with examples.
21. Discuss in detail about the various arithmetic operations in COBOL.
22. The personal files of two departments contain the following type of data for each employee. Field name: Employee name Personal details Field size: 15 alphanumeric position 50 alphanumeric position.
Write a program to merge these two files by comparing the employee name fields.
23. Discuss in detail about the various options of PERFORM statement with examples.
24. A Finance Company has announced several loans to its customers. The interest rate for each type of loan and its code are given below:
Loan Type Interest rate Code
Housing 7% 1
Education 8% 2
Personnel 9% 3
Write a COBOL program to calculate the total amount to
be repaid on the basis of the amount taken and the
interest provided.
25.Explain the following:
(a) COBOL coding sheet.
(b) File Control Paragraph for indexed file.
(c) Redefines and Renames clause.
21. Discuss in detail about the various arithmetic operations in COBOL.
22. The personal files of two departments contain the following type of data for each employee. Field name: Employee name Personal details Field size: 15 alphanumeric position 50 alphanumeric position.
Write a program to merge these two files by comparing the employee name fields.
23. Discuss in detail about the various options of PERFORM statement with examples.
24. A Finance Company has announced several loans to its customers. The interest rate for each type of loan and its code are given below:
Loan Type Interest rate Code
Housing 7% 1
Education 8% 2
Personnel 9% 3
Write a COBOL program to calculate the total amount to
be repaid on the basis of the amount taken and the
interest provided.
25.Explain the following:
(a) COBOL coding sheet.
(b) File Control Paragraph for indexed file.
(c) Redefines and Renames clause.
Month & Year of Examination November - 2006
PART A - (10 * 3 = 30 marks)
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
Answer any TEN questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
1.What is the difference between literal and figurative
constant.
2.What are the reserved words? Explain with example.
3.Describe the functions of DATA DIVISION.
4.Explain the difference between Group and elementary
data items with suitable examples.
5.What is the use of OCCURS clause?
6.What do you mean by SEARCH verb?
7.Write the syntax of MERGE verb.
8.What is the use of UNSTRING verb?
9.What are A and B margins? Explain them with suitable
example?
10.Write short notes on READ and WRITE verb.
11.What is the use Level number
12.What do you mean by SET verb?
constant.
2.What are the reserved words? Explain with example.
3.Describe the functions of DATA DIVISION.
4.Explain the difference between Group and elementary
data items with suitable examples.
5.What is the use of OCCURS clause?
6.What do you mean by SEARCH verb?
7.Write the syntax of MERGE verb.
8.What is the use of UNSTRING verb?
9.What are A and B margins? Explain them with suitable
example?
10.Write short notes on READ and WRITE verb.
11.What is the use Level number
12.What do you mean by SET verb?
PART B - (5 * 6 = 30 marks)
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.
13. What are the different sections in DATA DIVISION? What is the purpose of each section?
14. Explain the structure of COBOL program
15. Describe the functions of ENVIRONMENT DIVISION.
16. Explain the various types of picture clause.
17. Differentiate "MOVE CORRESPONDING" from "MOVE" verb.
18. What are the functions of ACCEPT and DISPLAY verb?
19. Write a COBOL program to add the individual digits of a given N digit integer.
14. Explain the structure of COBOL program
15. Describe the functions of ENVIRONMENT DIVISION.
16. Explain the various types of picture clause.
17. Differentiate "MOVE CORRESPONDING" from "MOVE" verb.
18. What are the functions of ACCEPT and DISPLAY verb?
19. Write a COBOL program to add the individual digits of a given N digit integer.
PART C - (4 * 10 = 40 marks)
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
20.Describe the various options of PERFORM statement with example.
21.Discuss any two types of file organization in detail.
22.Write a COBOL program to read the data (Register Number, Name and five marks) from a file and print the contents of input file along with the total marks in all five subjects.
23.Explain the following terms:
(a) ADD (b) SUBTRACT
(c) MULTIPLY (d) DIVIDE verb with example.
24.Write short notes on:
(a)Debugging
(b)Data validation design
(c)Program testing.
25.A file contains the name and marks of students of a class, write a program to sort this file in descending order of total marks.
21.Discuss any two types of file organization in detail.
22.Write a COBOL program to read the data (Register Number, Name and five marks) from a file and print the contents of input file along with the total marks in all five subjects.
23.Explain the following terms:
(a) ADD (b) SUBTRACT
(c) MULTIPLY (d) DIVIDE verb with example.
24.Write short notes on:
(a)Debugging
(b)Data validation design
(c)Program testing.
25.A file contains the name and marks of students of a class, write a program to sort this file in descending order of total marks.
Month & Year of Examination November-2008
PART A - [10 * 3 = 30 marks]
Answer any questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
1. What is meant by Alphanumeric variable?
2. Write the use of COBOL coding sheet.
3. What is a COBOL word?
4. What is the need of working storage section?
5. What is the use of ON SIZE ERROR option?
6. Differentiate between elementary and group data item.
7. Write a note on : 'inspect' statement.
8. What is synchronized option?
9. What is the use of COMPUTE verb?
10. What is FILLER clause?
11. What is the use of SET verb?
12. Write any three merits and demerits of indexed file processing.
PART B - [5* 6 =3 marks]
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.
13. What are the entries of Data Division? Discuss briefly.
14. Explain any three types of constants.
15. Differentiate between release and return statements.
16. Explain the PICTURE clause.
17. Explain with examples, OCCURS clause.
18. Differentiate between STRING and UNSTRING statements.
19. Compare and contrast sequential file organization with relative file organization.
PART C - [4 * 10 = 40 marks]
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
20. Describe the structure of COBOL program.
21. Explain with examples, various form PERFORM statements.
22. Describe the various Arithmetic verbs in COBOL, with examples.
23. Explain with examples, SORT and MERGE verbs.
24. Differentiate between 'renames' and 'redefines' clauses.
25. Write a program in COBOL to input emp-name, code and basic. Calculate his net pay and display information about his pay.
PART A - [10 * 3 = 30 marks]
Answer any questions.
All questions carry equal marks.
Each answer should not exceed 50 words.
1. What is meant by Alphanumeric variable?
2. Write the use of COBOL coding sheet.
3. What is a COBOL word?
4. What is the need of working storage section?
5. What is the use of ON SIZE ERROR option?
6. Differentiate between elementary and group data item.
7. Write a note on : 'inspect' statement.
8. What is synchronized option?
9. What is the use of COMPUTE verb?
10. What is FILLER clause?
11. What is the use of SET verb?
12. Write any three merits and demerits of indexed file processing.
PART B - [5* 6 =3 marks]
Answer any FIVE questions.
All questions carry equal marks.
Each answer should not exceed 200 words.
13. What are the entries of Data Division? Discuss briefly.
14. Explain any three types of constants.
15. Differentiate between release and return statements.
16. Explain the PICTURE clause.
17. Explain with examples, OCCURS clause.
18. Differentiate between STRING and UNSTRING statements.
19. Compare and contrast sequential file organization with relative file organization.
PART C - [4 * 10 = 40 marks]
Answer any FOUR questions.
All questions carry equal marks.
Each answer should not exceed 500 words.
20. Describe the structure of COBOL program.
21. Explain with examples, various form PERFORM statements.
22. Describe the various Arithmetic verbs in COBOL, with examples.
23. Explain with examples, SORT and MERGE verbs.
24. Differentiate between 'renames' and 'redefines' clauses.
25. Write a program in COBOL to input emp-name, code and basic. Calculate his net pay and display information about his pay.