The hierarchy of the execution of logical operators is
(a) NOT AND OR
(b) AND OR NOT
(c) OR AND NOT
(d) OR NOT AND

Answers were Sorted based on User's Feedback



The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AN..

Answer / vijay

a

Is This Answer Correct ?    38 Yes 4 No

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AN..

Answer / srinivas.dappili

Hi Santhi,

This is good Question.

THE ANS: IS NOT AND OR.

I am listing precedence order and also the link where u can
Found the relevant details


The operators and their precedence order from highest to
lowest are:
• Navigation operator ( . )
• Arithmetic operators in precedence order:
o + - unary
o * / multiply, divide
o + - add, subtract
• Comparison operators: =, >, <, >=, <=, <>(not equal)
• Logical operator NOT
• Logical operator AND
• Logical operator OR

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/cque_express.html

Is This Answer Correct ?    9 Yes 0 No

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AN..

Answer / milan kumar

Hierarchy is NOT,AND,OR.hierachy is a).however i'm not sure
wheather compiler will treat it in order they present(most
probable) or will follow the hierarchy if all logical
operators are present in one statement.if i'm wrong plz
scrutinize it..plz post your answer if any one 've tried it
already.....it's a smart question...

Is This Answer Correct ?    7 Yes 2 No

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AN..

Answer / guest

a) not and or

Is This Answer Correct ?    5 Yes 0 No

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AN..

Answer / nihal

it is A

Is This Answer Correct ?    4 Yes 0 No

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AN..

Answer / amol

a

Is This Answer Correct ?    3 Yes 0 No

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AN..

Answer / ritesh

a

Is This Answer Correct ?    6 Yes 5 No

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AN..

Answer / venkata revanth arla

not,and ,nor according to the precedence order

Is This Answer Correct ?    0 Yes 0 No

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AN..

Answer / basha

b

Is This Answer Correct ?    5 Yes 7 No

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AN..

Answer / arunabh

c

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More COBOL Interview Questions

WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH

2 Answers   Cap Gemini,


how we separate the cobol cics statements from cobol&cics programming?

1 Answers   Valtech,


What is the difference between a DYNAMIC and STATIC call in COBOL?

2 Answers  


I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..

3 Answers   iGate,


How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.

3 Answers  






What is COMP-1? COMP-2?

4 Answers   CitiGroup,


suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.

2 Answers   IBM,


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  


What is the difference between SEARCH and SEARCH ALL?

6 Answers   Cognizant,


What should be the sorting order for SEARCH ALL?

5 Answers  


Difference between file status codes 02 and 22.... since both are for duplicate key detection.

1 Answers  


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

0 Answers  


Categories