A paragraph PARA-X is to be executed when none of the data names
A, B and C have value of 1. Which of the following will
achieve this ?
(a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X
(B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X
(C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X
(C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X
Answers were Sorted based on User's Feedback
Answer / vel
Answer is d. b is wrong as 'NOT' priority is Higher
than 'AND', 'NOT' will be assigned with A alone.
| Is This Answer Correct ? | 14 Yes | 0 No |
What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?
What are ISOLATION LEVELS? Where do we need to specify them?
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
9(2).99 how many bytes take? Why . consider as a byte?
wht is structured cobol pgm and non structred cobol pgm ?
What does the IS NUMERIC clause establish ?
What are literals?
How do you set a return code to the JCL from a COBOL program?
what are the control characters used in reports
i have variable record in the 5th, i want to sort from 5th filed ? how ?
What is the utilization of copybook in cobol?
What will happen if we try to create GDG (+2) generaton instead of (+1) generation?