Section 6.8
Review Questions

Bitwise Logical Operations

  1. In the blank to the left of each C logical operator below, write the logical operation's name:
               ________________     &
               
               ________________     |
               
               ________________     ^
  1. The logical operations also have other names or functions. Match them up:
               AND                    complement
               
               OR                     filter
               
               NOT                    collector
  1. Perform the indicated operations below:
                  10011100     1011100    1011100
                & 01101010   | 0110101   ^
               -----------   ---------   --------
  1. What is the difference between performing bitwise AND between two bit strings and performing AND on a single string of bits?