Answer the following statements true (T) or false (F)

1. logical operators AND and OR have a higher precedence than the NOT operator.
2. The following C++ test checks if the variable child is in the range 3 to 12.
3. Assuming good Data is a Boolean variable, the following two tests are logically equivalent.
4. The statement does exactly the same thing as the if/else statement below:
5. Relational expressions and logical expressions are both Boolean, which means they evaluate to true or false.

1. FALSE
2. FALSE
3. TRUE
4. TRUE
5. TRUE

Computer Science & Information Technology

You might also like to view...

A summary sheet provides a visual cue about the value of a cell in relationship to other cells

Indicate whether the statement is true or false

Computer Science & Information Technology

AND, OR, and NOT are all examples of ________ functions

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

Computer Science & Information Technology