Lecture 02
Lecture 02
➢ Digital systems
➢ Understanding decimal numbers
➢ Binary and octal numbers
• The basis of computers!
AND Gate
1
0
0
Octal(base 8)
Hexadecimal
(base16)
➢ Learn to convert between bases.
➢ Already demonstrated how to convert
from binary to decimal.
➢ Hexadecimal described in next lecture.
2 22=4 10 210=1024
3 23=8 11 211=2048
4 24=16 12 212=4096
5 25=32 20 220=1M
Mega
6 26=64 30 230=1G
Giga
7 27=128 40 240=1T
Tera
CEN203, Fall 2024 2024, Dr. Mohanad Alayedi (Haliç University) 11
Binary Addition
0.3125 x 8 = 2 + 5 a-1 = 2
0.5000 x 8 = 4 + 0 a-2 = 4