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.

Computer Science & Information Technology

You might also like to view...

How many different numbers can be represented by Four bytes?

What will be an ideal response?

Computer Science & Information Technology

A variable declared outside any block or function is a(n) ________ variable.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

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

Computer Science & Information Technology

When a script file contains more than one command, each command must end with a ____.

A. question mark B. colon C. period D. semicolon

Computer Science & Information Technology