DC 2 October 2007
Part A - (20x2 = 40 Marks)
- What is the character set used in COBOL
- Define: Nonnumeric Literal
- What are figurative constants
- What is the use of SOURCE-COMPUTER paragraph
- Write a note on: VALUE clause
- Write the use of MOVE verb
- Write the general format of the READ statement
- What is the use of 66 Level number?
- Define: Group Data Item.
- Write the use of '9' PICTURE clause character
- Write the note on: ROUNDED option
- What is the purpose of SIGN clause
- What is the Relation condition? give an example.
- Write the Relation operators in COBOL
- Write a note on: GOTO statement
- What are the subscripted variables?
- Define: Record
- What are the sequential files?
- Write the general syntax of MERGE statement
- Write a note on: FILE-CONTROL paragraph
Answer all questions
- (a) Explain the uses of all divisions of COBOL program with examples
or (b) Describe the rules for formating valid COBOL words with suitable illustrations - (a) Explain the uses of different PICTURE clause Editing characters with examples
or (b) Write a COBOL program to find the simple and compound interest - (a) Describe the general forms of MULTIPLY and DIVIDE statements with examples
or (b) Explain the following statements with examples
(i) COMPUTE verb
(ii) DISPLAY verb - (a) Describe the different types of conditions with examples
or (b) write a COBOL program to do matrix addition - (a) Desribe the file control entries and I/O statements for sequential find with examples.
or (b) write a COBOL program to do Inventory processing