Chapter 8
Part 2 - Introduction to Events
Section 23
Extra Lecture - Digits, Bytes, and Hexadecimal Format
A bit is a binary digit, the smallest increment of data on a computer. It represents only two values - either a 0 or 1 that correspond to the electrical values of off or on, respectively. As bits are so small, you rarely work with information one bit at a time. Bits are usually assembled into a group of eight to form a byte. A byte contains enough information to store a single ASCII character. We have seen that each hexadecimal color (red, blue, or green) is represented by a byte. Confused? Don't panic, let's jump into it now.