Which of the following statements about evaluating binary logical expressions is false?

A. The short-cut evaluation method is considered more efficient.
B. Side effects, especially in the second operand, can lead to logic problems.
C. C uses the short-cut evaluation method.
D. For efficiency, it is a good programming style to use side effects in binary expressions.
E. In the short-cut evaluation method, it is possible to determine the result by evaluating only the first operand.


Answer: D

Computer Science & Information Technology

You might also like to view...

Both Windows 7 and Linux have built-in port filtering capabilities

Indicate whether the statement is true or false.

Computer Science & Information Technology

____ is an example of a circuit-switched network.

A. A telephone system B. The Internet C. The United States Postal Service D. A local area network

Computer Science & Information Technology

A command that enables you to select one or more rows or columns and lock them into place; the locked rows and columns become separate panes.

A. Freeze Panes B. Split Window C. Split Panes

Computer Science & Information Technology

What is a NoSQL database?

What will be an ideal response?

Computer Science & Information Technology