Home / C Programming / Bitwise Operators :: True / False Questions

C Programming :: Bitwise Operators

  1. Left shifting a number by 1 is always equivalent to multiplying it by 2.

  2. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. In the statement expression1 >> expression2. if expression1 is a signed integer with its leftmost bit set to 1 then on right shifting it the result of the statement will vary from computer to computer

  4. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Bitwise & and | are unary operators

  6. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Bitwise & can be used to check if more than one bit in a number is on.

  8. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Bitwise & can be used to check if a bit in number is set or not.

  10. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum