Genius

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

MIS 505 Programming-Final-Exam-Review PART 13 1. Every decision you make in a computer program involves evaluating a Boolean expression. A) True B) False Points Earned: 1.0/1.0 2. In any Boolean expression, the two values compared can be either variables or constants. A) True B) False Points Earned: 1.0/1.0 3. Any decision can be made using combinations of just two types of comparisons: equal and not equal. A) True B) False Points Earned: 1.0/1.0 4. Most programming languages allow you to ask two or more questions in a single comparison. A) True B) False Points Earned: 1.0/1.0 5. A short-circuit evaluation is where each part of an expression is evaluated only as far as necessary to determine whether the entire expression is true or false. A) True B) False Points Earned: 1.0/1.0 6. When you need to satisfy two or more criteria to initiate an event in a program, you must make sure that the second decision is made entirely independently of the first decision. A) True B) False Points Earned: 1.0/1.0 7. Besides AND and OR operators, most languages support a NOT operator. A) True B) False Points Earned: 1.0/1.0 8. Most programming languages limit the number of AND and OR operators in an expression. A) True B) False Points Earned: 1.0/1.0 9. When you combine AND and OR operators, the OR operators take precedence, meaning their Boolean values are evaluated first. A) True B) False Points Earned: 1.0/1.0 10. You can use parentheses to override the default order of operations. A) True B) False Points Earned: 1.0/1.0 11. A selection with an action that is associated with each of two possible outcomes is known as a(n) ____ selection. A) unary B) binary C) octal D) semiconductor Points Earned: 1.0/1.0 12. The keyword that is NOT included in a single-alternative selection is ____. A) if B) then C) else D) endif Points Earned: 1.0/1.0 13. Boolean expressions are named after ____. A) Harold Boolean B) Henry Boole C) George Boole D) Gerhardt Boolean Points Earned: 1.0/1.0 14. ____ operators require two operands. A) Unary B) Tertiary C) Binary D) Double Points Earned: 1.0/1.0 15. The ____ sign means “greater than.” A) < B) = C) <= D) > Points Earned: 1.0/1.0 16. Usually, ____ variables are not considered to be equal unless they are identical. A) string B) integer C) character D) floating point Points Earned: 1.0/1.0 17. When you ask multiple questions before an outcome is determined, you create a ____ condition. A) dual-alternative B) nested C) single-alternative D) compound Points Earned: 1.0/1.0 18. A(n) ____ decision is a decision in which two conditions must be true for an action to take place. A) OR B) XOR C) AND D) OR-ELSE Points Earned: 1.0/1.0 19. A series of nested if statements is also called a ____ if statement. A) stacked B) cascading C) bonded D) hooked Points Earned: 1.0/1.0 20. 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) blocked B) case C) AND IF D) logical Points Earned: 1.0/1.0
Answered
Other / Other
15 Oct 2016

Answers (1)

  1. Genius

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

    1. Every decision you make in a computer program involves e ****** ******
    To see full answer buy this answer.
    Answer Attachments

    1 attachments —

    • img
      part_13442966.docx

Report As Dispute

Share Your Feedback

Give Review : A+ A B C D F