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

Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all

5 Answers   TCS,


01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?

3 Answers   Mind Tree,


What are all the divisions of a COBOL program?

0 Answers  


I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

2 Answers   L&T,


01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?

7 Answers   Patni,






consider the following two statements MOVE 10 TO N PERFORM PARA-X N TIMES STOP RUN PARA-X MOVE 5 TO N how many times PARA-X willbe exicuted? a.10 b.5 c.infinate d.execution error

6 Answers   ABCL, TCS,


What is the difference between Structured COBOL Programming and Object Oriented COBOL ?

1 Answers  


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

0 Answers  


Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.

4 Answers  


What are the different data types in cobol?

0 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  


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

0 Answers  


Categories