1st Grading - Computer Number System
1st Grading - Computer Number System
NUMBER SYSTEM
THE COMPUTER
NUMBER SYSTEM
• Used to count discrete units and relate
quantities and symbols in digital electronics.
• There are four number representations used in
digital electronics: binary, octal, decimal, and
hexadecimal.
Four Key Number
Representations
❑ Binary (Base 2): Utilizes digits 0 and 1.
system. (1010110)
2
❑
Binary Number
System
conditions by 1.
Octal Number System:
▪ Contains 8 digits: 0, 1, 2, 3, 4, 5, 6, 7.
▪ Radix/Base: 8 (Base-8 system).
▪ Binary Conversion: Easily converts to binary.
▪ Usage: Commonly used to represent long binary
numbers in computers and electronic devices.
Decimal Number
System:
▪ Contains 10 digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
▪ Radix/Base: 10 (Base-10 system).
▪ Positional Number System: Value of a digit
depends on its position.
.
HEXADECIMAL
Number System:
▪ Uses digits 0-9 and letters A-F.
▪ Letters represent values: A=10, B=11, C=12, D=13, E=14, F=15
▪ Radix/Base: 16 (Base-16 system).
•Represents long binary numbers in computers and
microprocessors.
•Commonly used for programming in machine language.
.
THE COMPUTER
NUMBER SYSTEM
.
SIGNIFICANT
NUMBERS
Most
10101102
Significant Least Significant
Number Number
.
1D63A7A
Most
Significant Least Significant
Number Number
RECAP TIME!!!
1. It is the most fundamental number
system used in computer science. It
uses only two digits, 0 and 1, to
represent all numbers and data
numbers.
Binary Number
System
2. It
uses ten digits, 0 through 9,
to represent
Decimal Number
System
It uses eight digits, 0 through 7,
to represent numbers. It is
commonly used in computer
programming and digital
Octal Number electronics.
System
It is defined as a writing
system for denoting numbers
logically using digits or
symbols
Number System
It uses 16 digits, including 0
through A through F to
represent numbers
HEXADECIMA
L
It is called the base or number of
unique digits in each number
system
RADI
X
CONVERSION OF
COMPUTER NUMBER
SYSTEM
192 11000000
2. DECIMAL to OCTAL
10 8
25 ÷ 2 = 12, remainder 1
12 ÷ 2 = 6, remainder 0
ANSWER:
6 ÷ 2 = 3, remainder 0 2
LET’S PRACTICE!!!
3 ÷ 2 = 1, remainder 1
11001
1 ÷ 2 = 0, remainder 1
LET’S PRACTICE!!!
LET’S PRACTICE!!!
DECIMAL to OCTAL OF: 2510
25 ÷ 8 = 3, remainder 1 3
÷ 8 = 0, remainder 3
ANSWER: 318
LET’S PRACTICE!!!
LET’S PRACTICE!!!
DECIMAL to HEXADECIMAL OF: 2510
25 ÷ 16 = 1, remainder 9 1
÷ 16 = 0, remainder 1
ANSWER: 198
LET’S PRACTICE!!!
PRACTICE TEST
CONVERT DECIMAL to BINARY,OCTAL AND
HEXADECIMAL OF: 156 , 85 , 3710 10 10