teach-ict.com logo

THE education site for computer science and ICT

1. Introduction

Most of the time, data is handled in bytes and words. However, there are applications that require manipulating data at the bit level.

For this syllabus, the bit manipulation you need to learn are

  • Bitwise left shift
  • Bitwise right shift signed and unsigned
  • Circular shifts
  • Masking (AND)
  • Setting bits (OR)
  • Toggling bits (XOR)

This section will also describe some of the application for this kind of manipulation