Quiz 6.8

DIRECTIONS: Read each question carefully. Then click on the dot next to the answer that most closely fits the question. Try to answer all questions on this quiz and when you are done, click on the grade me button at the bottom.


Coverage: Section 6.8

  1. Which of the following refers to the AND operation?
complement
collector
mask

  1. What symbol is used for OR?
&
|
^

  1. What do we call a logical operation where each corresponding pair of bits is treated as one complete logical operation, and neighboring bits in the same bit string do not affect each other at all?
bitwise
complementary
exclusive

  1. Perform the following logical operation:
        11101100
      & 01001010
      ----------
01001000
11101110
00010001

  1. Perform the following logical operation:
        11101100
      | 01001010
      ----------
01001000
11101110
11010111

  1. Perform the following logical operation:
        11101100
      ^
      ----------
11001001
11101110
00010011

  1. Perform an AND operation on the following bit string:
        11101100
1
0

  1. Perform an OR operation on the following bit string:
        11101100
1
0

  1. Which of the following operations is equivalent to ANDing all the bits in a single string together?
asking if the decimal equivalent of the string is 0
asking if the decimal equivalent of the string is > 0
asking if the decimal equivalent of the string is -1
asking if the decimal equivalent of the string is < 0