CIS211 Quiz 4

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

The _____ operator takes an operand and reverses its truth or falsehood.

!

All of the relational operators are binary.

True

The C++ _____ operator represents logical AND.

&&

In C++ when a relational expression is false, it has the value _____

0

Relational operators allow you to _____ numbers.

Compare

Logical operators AND and OR have a higher precedence than the NOT operator.

False

If a switch statement has no _____ statements, the program "falls through" all of the statements below the one with the matching case expression.

break

The _____ statement causes other program statements to execute only under certain conditions.

if

The _____ statement executes one block of statements if a test condition is true, and another block if the condition is false.

if/ else

A trailing else placed at the end of an if/else if statement provides a default action when _____ of the if conditions is/are true.

none


Set pelajaran terkait

BIOL 3030- Practice Test Chapter 16

View Set

Szerződések csoportosítása, tipizálása, klasszifikáció

View Set

APES test - Primary Productivity and Energy Flow

View Set

CHAPTER 19 Exam 2 PrepU Questions

View Set

Management Decision-Making Process and Incremental Analysis

View Set