COBOL Quiz-2

6 Questions | Total Attempts: 3202

SettingsSettingsSettings
Please wait...
COBOL Quizzes & Trivia

Cobol -2 Quiz for mainframe professionals By Mainframe-Srini Blogs http://srinimf. Wordpress. Com


Questions and Answers
  • 1. 
    My collegue eagerly came to me. Bcz he has a question. He coded data field                 ----.99 he moved -382 into that field. Then what is the result?
    • A. 

      -382.00

    • B. 

      382

    • C. 

      382.00

    • D. 

      None

  • 2. 
    ENVIRONMENT DIVISION. SPECIAL-NAMES.  CURRENCY SIGN IS '#' What exactly this will do?
    • A. 

      It will not change $

    • B. 

      It changes where $ is there to #

    • C. 

      None

  • 3. 
    My friend by mistake coded both in a program. STOP RUN. GO BACK. DO you get compile error with this?
    • A. 

      True

    • B. 

      False

  • 4. 
    Accept   MY-TIME  from TIME?
    • A. 

      Time stamp

    • B. 

      Only Time

    • C. 

      Only Date

  • 5. 
    My friend struggling TO find how many bytes it takes. Please help him. 01  My-word.    02  Date-1     PIC  X(10).    02  Date-1     PIC  9(6)  COMP SYNC.    02  Date-1     PIC  S9(4)V9(3).  
    • A. 

      22

    • B. 

      20

    • C. 

      18