Which of the following statements about the conditional operator (?:) is false?

a. The conditional operator is a ternary operator, meaning that it takes three operands.
b. The first operand is a boolean expression.
c. The second operand is the result value if the condition evaluates to false.
d. The second operand is the result value if the condition evaluates to true.


Answer: c. The second operand is the result value if the condition evaluates to false.

Computer Science & Information Technology

You might also like to view...

Describe two key benefits of Bluetooth technology.

What will be an ideal response?

Computer Science & Information Technology

The AVERAGE function is an example of a(n) ________ function

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

Computer Science & Information Technology

If automatic timings have been manually set, then during a slide show, the slides will advance automatically after the time displayed in the _____ box.

A. Edit B. After C. Transition D. Before

Computer Science & Information Technology

A technique used to compromise a system is known as a(n) ___________.

A. access method B. asset C. exploit D. risk

Computer Science & Information Technology