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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum