COBOL Quiz

20 Questions

Settings
Please wait...
COBOL Quizzes & Trivia

COBOL is a programing language that is mostly used in finance, Businesses and administrative systems. With COBOL programmers being in demand these days’ people are learning it and basing their careers on it. This is the Quiz on COBOL for mainframe professionals. Give it a try and see just how much you remember from class.


Questions and Answers
  • 1. 
    COMP is more effecient at word boundaries?
    • A. 

      True

    • B. 

      False

  • 2. 
    S9(7) SIGN TRAILING SEPARATE filed occupy 8 Bytes.
    • A. 

      True

    • B. 

      False

  • 3. 
    What are the different file open modes in COBOL?
    • A. 

      INPUT, I-O

    • B. 

      INPUT, I-O, OUTPUT, EXTEND

    • C. 

      INPUT, I-O

    • D. 

      INPUT, I-O

  • 4. 
    • A. 

      It is a logical error

    • B. 

      It is a logical error, file is opend for input and attemt is made to write it

    • C. 

      It is not an logical error

    • D. 

      It is a logical error, It is not file related error

    • E. 

      None

  • 5. 
    Usage is POINTER, supported in?
    • A. 

      COBOL I

    • B. 

      COBOL I, COBOL II

    • C. 

      COBOL I, COBOL II, OO COBOL

    • D. 

      None

  • 6. 
    Only COBOL II programs supported in CICS.
    • A. 

      True

    • B. 

      False

  • 7. 
    Compiler option for dynamic linking?
    • A. 

      No Dynam

    • B. 

      Dynam

    • C. 

      MAP

    • D. 

      No MAP

  • 8. 
    Maximum dimensional array can be created in COBOL?
    • A. 

      1

    • B. 

      7

    • C. 

      2

    • D. 

      3

  • 9. 
    Can u call COBOL I pgm from COBOL-II?
    • A. 

      Not possible

    • B. 

      Possible in Non cics

    • C. 

      Not possible in CICS

    • D. 

      None

  • 10. 
    What is INCLUDE in COBOL?
    • A. 

      Not reserved word

    • B. 

      It's not reserved word. Used to include SQLCA in the form of cobol code

    • C. 

      Reserved word

    • D. 

      None

  • 11. 
    What is 41 file status code?
    • A. 

      Close attempted on closed file

    • B. 

      Open attemted on open file

    • C. 

      Not error

    • D. 

      None

  • 12. 
    What are the error handling conditions in Cobol?
    • A. 

      On Exception

    • B. 

      On Exception, On Overflow, On Size Error

    • C. 

      On Divide

    • D. 

      None

  • 13. 
    What are the performance improvements in Cobol?
    • A. 

      RENAMES

    • B. 

      REDEFINES, COMP, COMP-3, RENAMES, EVALUATE

    • C. 

      REDEFINES, EVALUATE

    • D. 

      None

  • 14. 
    Which is default?
    • A. 

      Call by reference

    • B. 

      Call by value

    • C. 

      Both 1 and 2

    • D. 

      None

  • 15. 
    How many sub-levels can have a group item in COBOL?
    • A. 

      48

    • B. 

      49

    • C. 

      50

    • D. 

      None

  • 16. 
    What are the scope terminators in Cobol II?
    • A. 

      READ

    • B. 

      READ, String, Evaluate, Call, Perform, Search

    • C. 

      Only Read

    • D. 

      None

  • 17. 
    Next Sentence - Call will pass to next sentence end with period?
    • A. 

      True

    • B. 

      False

  • 18. 
    • A. 

      FD

    • B. 

      SD

    • C. 

      Both SD, FD

    • D. 

      Create, Replace, Update

  • 19. 
    • A. 

      True

    • B. 

      False

  • 20. 
    RETURN SORT-FILE, what does RETURN means?
    • A. 

      READ

    • B. 

      CLOSE

    • C. 

      WRITE

    • D. 

      None