This lesson shows how to set, clear, and toggle a specific bit in a number using bitwise operations. We start with a number and choose a bit position. We create a mask by shifting 1 left by that position. To set a bit, we OR the number with the mask. To clear a bit, we AND the number with the inverted mask. To toggle a bit, we XOR the number with the mask. Toggling twice returns the number to its original value. The execution table traces these steps with decimal and binary values, showing how the number changes. Key moments clarify why OR doesn't change a bit if it's already set, why NOT is used for clearing, and how toggling twice works. The quiz tests understanding of these operations and mask creation.