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 is internal sort and external sort ? which is preferable ?

2 Answers   TCS,


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

0 Answers   HeadStrong,


Q:what is the difference between the variable length and fixed lenght.how it varies in the cobol.

12 Answers   CTS, Wipro,


How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.

7 Answers   CGI, TCS,


Is It Possible to Update or change in VIEW Mode?

5 Answers   CSC,






can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.

10 Answers   IBM,


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?

3 Answers   Xansa,


Explain fixed length record in cobol? with suitable example

1 Answers   IBM,


in how many mode we can open a file ?

4 Answers  


consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above

3 Answers   TCS,


Whtz the specialty of 77 level number ?

2 Answers   Infosys,


which one is better among static call and dynamic call?

3 Answers  


Categories