Home / CSE MCQs / COBOL ::

CSE MCQs :: COBOL

  1. Rewrite verb is used to update the records. A file should be opened in I-O mode for rewrite operations. It can be used even if a read operation is not successful. Is this statement true or false?
  2. A.
    True
    B.
    False
    C.
    All the above
    D.
    None

  3. Indicate in which of the following, the REPORT NAME does not appear
  4. A.
    RD entry
    B.
    INITIATE statement
    C.
    SELECT clause
    D.
    TERMINATE statement

  5. The Logical Name of the File will be assigned to
  6. A.
    DD Name
    B.
    Step Name
    C.
    Job Name
    D.
    Joblib

  7. About the MERGE verb, which one of the following is true.
  8. A.
    Can merge a maximum of three files
    B.
    Does not require that the input file to be merged be sorted on the merge keys
    C.
    Requires that all files mentioned in the statement must have records of same size
    D.
    Does not require that the position of the merge keys with in the records descriptions of each of the files must be same

  9. How many bytes will a S9(8) COMP field occupy?
  10. A.
    8 bytes
    B.
    4 bytes
    C.
    2 bytes
    D.
    5 bytes

  11. Indicate which of the following is not a Procedure Division verb
  12. A.
    Rewrite
    B.
    Insert
    C.
    Delete
    D.
    Start

  13. What is the mode in which you will OPEN a file for writing?
  14. A.
    Output
    B.
    Input
    C.
    Extend
    D.
    Both A & C

  15. A storage device which is used to store data & information external to the main storage is known as?
  16. A.
    Buffer
    B.
    Backing storage
    C.
    PROM
    D.
    Accumulator

  17. Pic 9v99 is a _______ position numeric field with an implied or assumed decimal point after the first position.
  18. A.
    One
    B.
    Two
    C.
    Three
    D.
    Four

  19. Object Oriented languages:
  20. A.
    Are procedural languages
    B.
    Are task oriented
    C.
    Are based on actions happening to objects
    D.
    Are natural language techniques