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

Can we change the password using ALTER? anyone tried and changed?

0 Answers   IBM,


can we use reference modification an arry.

1 Answers  


What is binary search?

3 Answers  


Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?

6 Answers   T systems,


without performing any operations on a file how can i know whether it contains data or not

2 Answers  


The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?

6 Answers   Cognizant,


Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $

4 Answers  


What care has to be taken to force program to execute above 16 Meg line?

1 Answers  


What are the different forms of EVALUATE statement?

2 Answers   IBM, Micro Labs,


How do define Dymanic array in cobol how do u define single demensional arry and multidymensional arry in ur cobol.

4 Answers   Cap Gemini,


What is the difference between goback, stop run and exit program in cobol?

0 Answers  


I have a sequential file of 100 records. How do I load the records into a two dimensional array ?

3 Answers   IBM, Xansa,


Categories