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



A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Wh..

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

A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Wh..

Answer / kaal

D IS THE CORRECT ANS

Is This Answer Correct ?    7 Yes 0 No

A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Wh..

Answer / rama

b

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More COBOL Interview Questions

What are some examples of command terminators?

1 Answers  


I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division

1 Answers  


period is missing in the cobol program which error we getting

5 Answers   TCS, Tesco,


How do you reference the fixed block file formats from cobol programs

0 Answers  


COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'

8 Answers   Barclays, IBM,






how to pass 100 to s9(4) how r they inserted ?

3 Answers   TCS,


How include time & date in the report generation in cobol programing?

2 Answers  


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

0 Answers  


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

0 Answers   HCL,


How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?

1 Answers   CTS,


What are different file OPEN modes available in COBOL?

4 Answers   Sun Life,


why we are using set in searchall?

4 Answers   IBM,


Categories