Genius

MIS505 MIS/505 MIS 505 Programming-Final-Exam-Review PART 14

MIS 505 Programming-Final-Exam-Review PART 14

21. Most programming languages allow you to ask two or more questions in a single comparison by using a(n) ____ operator that joins decisions in a single statement.
A) AND
B) OR
C) IF
D) XOR
Points Earned:
1.0/1.0


22. For maximum efficiency, a good rule of thumb in an AND decision is to ____.
A) first ask the  question that is more likely to be true
B) first ask the question that is more likely to be false
C) rewrite it as an OR decision and ask the question more likely to be true
D) rewrite it as an OR decision and ask the question more likely to be false
Points Earned:
1.0/1.0


23. ____ evaluation is when each part of an expression that uses an operator is evaluated only as far as necessary to determine whether the entire expression is true or false.
A) Truth
B) Short-circuit
C) Binary
D) Loop
Points Earned:
1.0/1.0


24. When creating a truth table, you must determine how many possible Boolean value combinations exist for the conditions. If there are two conditions, ____ combinations will exist.
A) two
B) four
C) eight
D) 16
Points Earned:
1.0/1.0


25. In a truth table, the expression ____ is true.
A) true AND true
B) true AND false
C) false AND true
D) false AND false
Points Earned:
1.0/1.0


26. The conditional AND operator in Java, C++, and C# is ____.
A) &
B) AND
C) **
D) &&
Points Earned:
1.0/1.0


27. ____ are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts.
A) Decision matrices
B) Decision diagrams
C) Truth diagrams
D) Truth tables
Points Earned:
1.0/1.0


28. A(n) ____ decision is a decision in which at least one of two conditions must be true for an action to take place.
A) OR
B) nested
C) AND (Incorrect)
D) NOT
Points Earned :
0.0/1.0



29. In a truth table, the expression ____ is false.
A) true OR true
B) true OR false
C) false OR true
D) false OR false
Points Earned: 
1.0/1.0


30. For maximum efficiency, a good rule of thumb in an OR decision is to ____.
A) first ask the question that is more likely to be true
B) first ask the question that is more likely to be false
C) rewrite it as an AND decision and ask the question more likely to be true
D) rewrite it as an AND decision and ask the question more likely to be false
Points Earned:
1.0/1.0


31. C#, C++, C, and Java use the symbol ____ as the logical OR operator.
A) %
B) $
C) ||
D) ^
Points Earned:
1.0/1.0


32. You use the logical ____ operator to reverse the meaning of a Boolean expression.
A) AND
B) XOR
C) OR
D) NOT
Points Earned:
1.0/1.0


33. You can perform a ____ by making comparisons using either the lowest or highest value in a range of values.
A) range check
B) nested if
C) logic check
D) trivial expression
Points Earned:
1.0/1.0


34. When you combine AND and OR operators, the ____ operators take precedence, meaning their Boolean values are evaluated first.
A) addition
B) AND
C) OR
D) division
Points Earned:
1.0/1.0


35. You can use ____ for clarity and to override the default order of operations.
A) parentheses
B) truth tables
C) multiplication
D) NOT


Points Earned:
1.0/1.0
Points Awarded
33.00
Points Missed
2.00
Percentage
94.3%
Answered
Other / Other
15 Oct 2016

Answers (1)

  1. Genius

    MIS505 MIS/505 MIS 505 Programming-Final-Exam-Review PART 14

    21. Most programming languages allow you to ask two or more questions in a single comparison by usin ****** ******
    To see full answer buy this answer.
    Answer Attachments

    1 attachments —

    • img
      part_14442976.docx

Report As Dispute

Share Your Feedback

Give Review : A+ A B C D F