Computer Science, asked by malingmeilucas, 3 months ago

an
1. What is the function of logical
operators ? Write
expression
involving a logical operator to test if
marks are 55 and grade is 'B'.
2. The && and || operators
(a) compare two numeric values
(b) combine two numeric values
(c) compare two boolean values
(d) combine two boolean values.
(Boolean values are true i.e. 1 and false
1.e., 0)
3. What is the order of evaluation in the
following expressions :
(i) a > b|| b <d?
(i) x == y && y <= m ?
(iii) a > b && b< cll c<!d +3?
4. What is the result of following
expression : a >=b&& (a + b) > a
(i) a = 3, b = 0 (ii) a = 7, b = 7 ?
5. What is the result of following
expression if
(i) check = 3, (ii) check = 0,
(iii) check = -3?
(! check)
6. Identify the order of evaluation in the
following expression :
4* 5+ 7 * 2-8% 3 + 4
&& 4/2-1+ 4112 - 4
112 - 4 + 6*2​

Answers

Answered by adityasingh199521
2

B

o

a

check

496

Explanation:

make me brainliest

Similar questions