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
Answer Posted / 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 |
Post New Answer View All 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
What is a scope terminator give example?
What guidelines should be followed to write a structured cobol prgm?
What is the difference between comp and comp-3?
Write the code implementing the perform … varying.
Name the divisions, which are available in a cobol program?
how do you reference the rrds file formats from cobol programs
How do you define a variable of comp-1 and comp-2?
How do you differentiate between cobol and cobol-ii?
Write a program to enter and display the names of students in a class using the occurs clause.
Difference between cobol and cobol-ii?
explain sorting techniques in cobol program?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What type of SDLC u followed? Why?
In COBOL, what is the different between index and subscript?