Presentation 6
Presentation 6
• Binary, at its core, is a system of representing numbers, letters, and other characters using only two
digits: 0 and 1. It is the fundamental language of computers, which use binary to perform all their
operations and store data.
Examples of Binary Application
06/26/2024 4
Octal
• Octal, also known as base-8, is a number system that uses eight digits: 0 through 7. Each digit in the
octal system represents a power of eight, making it a compact and efficient way to represent binary
data, as each octal digit corresponds to exactly three binary digits (bits).
Examples of Octal UNIX FILE
PERMISSIONS
MEMORY ADDRESSING DIGITAL EQUIPMENT
CORPORATION (DEC)
Application SYSTEMS
06/26/2024 6
Hexadecimal
• Hexadecimal, also known as base-16, is a number system that uses sixteen distinct symbols: 0-9 for
values zero to nine and A-F for values ten to fifteen. Each hexadecimal digit represents four binary
digits (bits), making it a compact and efficient way to represent binary data.
Examples of Octal Application
Memory Addressing
06/26/2024 8
Bookmarks Birds
Octal addition
• Example 1 • Example 2
745 512
+ 137 + 276
-------- --------
304 1010
Octal subtraction
• Example 1 • Example 2
745 512
- 137 - 276
------- --------
604 214
OCTAL SUBTRACTION
OCTAL
OCTAL MULTIPLIC
OCTAL
ADDITION ATION DIVISION
Bookmarks Birds
Octal multiplication
• Example 1 • Example 2
357 72
x 23 x 12
------- --------
1315 1104
OCTAL DIVISION
Octal Division
OCTAL MULTIPLICATION
OCTAL OCTAL
OCTAL
ADDITION SUBTRACT
DIVISION
ION
Bookmarks Birds
Hexadecimal addition
• Example 1 • Example 2
5689 ADD
+ 4574 + DAD
-------- --------
9BFD 188A
Hexadecimal subtraction
• Example 1 • Example 2
9654 974B
- 5321 - 587C
--------- --------
4333 3ECF
OCTAL SUBTRACTION
OCTAL
OCTAL MULTIPLIC
OCTAL
ADDITION ATION DIVISION
Bookmarks Birds
Hexadecimal multiplication
• Example 1 • Example 2
94 ABC
x 12 x 23
------- --------
A68 177B4
OCTAL DIVISION
Hexadecimal Division
OCTAL MULTIPLICATION
OCTAL OCTAL
OCTAL
ADDITION SUBTRACT
DIVISION
ION