Most languages allow you to use a variation of the decision structure called

Most languages allow you to use a variation of the

This preview shows page 2 - 5 out of 7 pages.

11.Most languages allow you to use a variation of the decision structure called the ____ structure when you must nest a series of decisions about a single variable.a.blockedc.AND IFb.cased.logicalANS: BPTS:1REF:14412.Most programming languages allow you to ask two or more questions in a single comparison by using an ____ operator that joins decisions in a single statement.13.When creating a truth table, you must determine how many possible Boolean value combinations existfor the conditions. If there are two conditions, ____ combinations will exist.
14.In a truth table, the expression ____ is true.15.The conditional ANDoperator in Java, C++, and C# is ____.a.&c.**b.ANDd.&&ANS: DPTS:1REF:14716.____ are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts.17.For maximum efficiency, a good rule of thumb in an ORdecision is to ____.18.C#, C++, C, and Java use the symbol ____ as the logical OR operator.19.You use the logical ____ operator to reverse the meaning of a Boolean expression.a.ANDc.ORb.XORd.NOTANS: DPTS:1REF:15820.The logical ANDoperator can be compared to ____ in terms of precedence.21.The logical ORoperator can be compared to ____ in terms of precedence.COMPLETION1.A dual-alternative, or ____________________, selection is one in which an action is associated with each of two possible outcomes.
ANS: binaryPTS:1REF:1342.The ____________________ clause of the decision is the part of the decision that holds the action or actions that execute when the tested condition in the decision is true.ANS: thenPTS:1REF:1363.When you ____________________ decisions because the resulting action requires that two conditionsbe true, you must decide which of the two decisions to make first.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture