Exercise: Bit shifts

Practice the bit shifts on your own.

We'll cover the following

Exercise

Perform arithmetic bit shifts for the following signed two-byte integers:

  • 25649 >> 3
  • 25649 << 2
  • -9154 >> 4
  • -9154 << 3

Get hands-on with 1200+ tech skills courses.