Which of the following operators reverses the logic of its operand? – NOT |
NOT |
Which operator is best to determine whether x contains a value in the range of 10 through 57? – AND |
And |
Which operator would make the following expression false? – AND |
And |
A nested decision structure can achieve the same logic as a case structure. – True |
True |
A nested decision structure can be used to test more than one condition. – True |
True |
What two logical operators perform short-circuit evaluation? – NOT and OR |
And and Or |
The first line of the case structure starts with the word CASE followed by the test expression. – True |
False |
The short-circuit evaluation is performed with expressions containing any logical operators. – True |
False |
Which operator is used to determine that the operands are not exactly of the same value? – = |
None of these |
The If-Then-Else statement can be used to simplify a complex nested decision structure. – True |
True |
The ________ operator could be used, in some situations, to simplify nested selection structures. – AND |
AND |
Which operator would make the following expression true? – AND |
OR |
Which structure is a logical design that controls the order in which a set of statements executes? – Control |
Control |
An If statement will produce unpredictable results if the programmer does not use proper indentations in pseudocode. – True |
False |
The ________ operator is a unary operator, as it works with only one operand. – AND |
Not |
A case structure is a ________ alternative decision structure. – Single |
Multiple |
Decision structures are also known as selection structures. – True |
True |
Which of the following is a logical operator? – AND |
All of these |
If the expression is false, the ________ operator will return true. – AND |
Not |
What type of operators are the following? – Boolean |
Relational |
CIS116- QUIZ 4
Share This
Unfinished tasks keep piling up?
Let us complete them for you. Quickly and professionally.
Check Price