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.
Hexadecimal
The hexadecimal system, or base-16, is a numeral system that uses sixteen symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C,
D, E, and F. It is commonly used in computing and digital electronics because it provides a more compact way to represent
binary data. Each hexadecimal digit corresponds to four binary digits (bits). For example, the binary number 10101111
can be written as AF in hexadecimal. Hexadecimal is frequently used in programming for memory addresses,
color codes in web design (e.g., #FF5733), and representing machine-level instructions in a readable format.