COBOL Quiz-2

6 Questions | Attempts: 3235
Share

SettingsSettingsSettings
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

    Correct Answer
    A. -382.00
  • 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

    Correct Answer
    B. It changes where $ is there to #
  • 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

    Correct Answer
    A. True
  • 4. 

    Accept   MY-TIME  from TIME?

    • A.

      Time stamp

    • B.

      Only Time

    • C.

      Only Date

    Correct Answer
    A. Time stamp
  • 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

    Correct Answer
    B. 20

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • May 05, 2014
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 10, 2012
    Quiz Created by
    Srinimf
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.