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 02 level number can't be use as a separate level number like 01 or 77 ?

3 Answers  


Move Zeroes to I move 5 to j perform para1 varying I from 10 by -2 until I = 0 display j. para1. Add 5 to j. What’ll be the value after execution of display stmt. A) 35 B) 40 C) 30 D) 25 please explain how?

5 Answers  


How to pass return codes from cobol to jcl?

5 Answers  


How many variables can be declared in w-s section.?

2 Answers  


What is the maximum length of a field you can define using COMP-3?

4 Answers   Complex System, Infosys,


what is internal sort and external sort ? which is preferable ?

2 Answers   TCS,


What do you feel makes a good program?

2 Answers  


I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?

2 Answers  


what are the steps to sort in a cobol program?

2 Answers   Patni,


01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?

6 Answers   Patni,


in a indexed file what is procedure for read the records from 12 to 18. please give the code example

2 Answers   L&T,


Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?

4 Answers  


Categories