Octal
Octal is a base-8 number system that uses the digits 0 through 7. It is often used in computing as a shorthand
representation of binary numbers because each octal digit corresponds directly to three binary digits. For instance,
the binary number 110010 can be grouped into 110 and 010, which translates to
the octal number 62. Historically, octal was used in early computer systems for tasks like memory addressing,
where it simplified the representation of binary values. While less common today, it is still used in some programming
contexts, particularly in Unix-based systems, where file permissions are often expressed in octal notation.
Binary
Binary is the fundamental number system used by computers to store and process data. It is a base-2 numeral system, which
means it uses only two symbols: 0 and 1. Each digit in a binary number represents an increasing power of 2, starting from
the rightmost digit. Binary is efficient for computers because digital circuits can easily represent two states, such as
on/off or true/false, using 0 and 1. All forms of data, including text, images, and sound, are ultimately converted into
binary code for processing by computer hardware. For example, the binary number 101 represents
1 × 2² + 0 × 2¹ + 1 × 2⁰ = 5 in decimal form.