C c c and java use the symbol as the logical or

This preview shows page 4 - 7 out of 8 pages.

We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Java Programming
The document you are viewing contains questions related to this textbook.
Chapter 5 / Exercise 12
Java Programming
Farrell
Expert Verified
21.C#, C++, C, and Java use the symbol ____ as the logical ORoperator.a.%c.||b.$d.^ANS: C
PTS:1REF:14222.You use the logical ____ operator to reverse the meaning of a Boolean expression.
PTS:1REF:14723.You can perform a ____ by making comparisons using either the lowest or highest value in a range of values.
PTS:1REF:14824.When you combine ANDand ORoperators, the ____ operators take precedence,meaning their Boolean values are evaluated first.
PTS:1REF:15425.You can use ____ for clarity and to override the default order of operations.a.parenthesesc.multiplicationb.truth tablesd.NOTANS: A
PTS:1REF:156COMPLETION1.A dual-alternative, or ____________________, selection is one in which an action is associated with each of two possible outcomes.
We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Java Programming
The document you are viewing contains questions related to this textbook.
Chapter 5 / Exercise 12
Java Programming
Farrell
Expert Verified
PTS:1REF:1222.The ____________________ clause is the part of the decision that holds the action or actions that execute when the tested condition in the decision is true.
PTS:1REF:1253.When you ____________________ decisions because the resulting action requires that two conditionsbe true, you must decide which of the two decisions to make first.
PTS:1REF:1324.In an ANDdecision, first ask the question that is less likely to be ____________________.
PTS:1REF:1345.When you use a(n) ____________________ check, you compare a variable to a series of values that mark the limiting ends of ranges.
PTS:1REF:148MATCHINGMatch each term with a statement below.a.=, >, <, >=, <=, and <>f.logical ORb.case structureg.elseclausec.ANDh.deadd.parenthesesi.trivial expressionse.Boolean expressionj.a decision within another decision1.An expression whose value can be only true or false2.Part of a decision that executes only when the tested condition in the decision is false3.Will always evaluate to the same result4.Relational comparison operators5.Nested if6.Used when you must nest a series of decisions about a single variable7.Using this operator, each Boolean expression must be true in order for the entire expression to be evaluated as true8.When this operator is used, only one of the listed conditions must be met for the resulting action to take place9.A path that can never be traveled10.Used to override the default order of operations
PTS:1REF:122
PTS:1REF:125
PTS:1REF:126
PTS:1REF:126
PTS:1REF:130
PTS:1REF:132
PTS:1REF:134
PTS:1REF:141
PTS:1REF:150
PTS:1REF:156SHORT ANSWER1.Describe a Boolean expression.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture