Monday, June 2, 2008

COBOL AND DATA PROCESSING

2035/DC2 May 2006
Paper II - COBOL and Data Processing
Time: Three Hours Maximum: 100 Marks

Part A - (20 x 2 = 40 marks)
Answer ALL questions

  1. Write down the general structure of COBOL program.
  2. What is literals? Give their types.
  3. What are the various divisions under DATA division?
  4. What is FIGURATIVE CONSTANTS?
  5. List the various PICTURE formats.
  6. What are the minimum entries required to declare the sequential file?
  7. Give the syntax for I/O statements in COBOL.
  8. What are the advantages of Editing picture characters?
  9. What is SYNCHRONISED clause?
  10. Write the corresponding MOVE statements for the following : p = n = r = 0, q = 5.5. s = q. y = p.
  11. With an example give the use of ROUNDED option.
  12. Define qualifications of Data names
  13. Write down the general format of compound condition
  14. List out the types of PERFORM statements
  15. What is class test? Give examples.
  16. State the purpose of GOTO statement.
  17. Define File. What are the types of files available?
  18. Write down the syntax of file I/O statements.
  19. List out the four stages of a payroll system.
  20. What is the significant of FD level?

    PART B - (5x12 = 60 marks)
    Answer ALL the questions

  21. (a) (i) Explain with examples the reserved words, user defined words and key words
    (ii) Write down the screen section entries to clear the screen.
    Or (b) Define the editing characters. List and explain any eight editing characters with examples.
  22. (a) Explain the various forms of Arithmetic verbs with all options.
    or (b) Write a COBOL program to print a multiplication table from 5 to 10 with 20 entries in each.
  23. (a) Write a COBOL program to read the input Name, Reg, No, m1, m2, m3 from existing data file "MARK.DAT" and print the Reg.No and Result.
    Result calculation : if m1, m2, m3 > 45 then "PASS" else "FAIL" or
    (b) Write a note on:
    (i) USAGE
    (ii) SYNCHRONIZED clause
  24. (a) Write a COBOL program to read all the records from an input file which has fields NAME, SEX, AGE and QUALN and write into another file, only that records satisfy the following condition:
    (i) Male record
    (ii) age less than 28 yrs
    (iii) B.Sc. graduate
    or
    (b) What are the various factors that influence in choosing particular file organization? Tabulate the disadvantages of sequential file and indexed sequential file.
  25. (a) Explain any four procedure division statements of indexed sequential file
    or (b) Describe with system charts and program flow charts the design of an pay roll processing for an university.

No comments: