Assume x = 4 and y = 5, which of the following is true?
a. x < 5 && y < 5
b. x < 5 || y < 5
c. x > 5 && y > 5
d. x > 5 || y > 5
b. x < 5 || y < 5
is true, but y < 5 is false. So A is false. B is true. C and D are both false, because x > 5 is false and y > 5 is false. The correct answer is B.
You might also like to view...
How many different numbers can be represented by Four bytes?
What will be an ideal response?
A variable declared outside any block or function is a(n) ________ variable.
Fill in the blank(s) with the appropriate word(s).
The change history includes the name of the person who made each change, when the change was made, and ________
A) what history was changed B) what feature was changed C) what file was changed D) what data was changed
When a script file contains more than one command, each command must end with a ____.
A. question mark B. colon C. period D. semicolon