COMPUTER NUMBER SYSTEM
What is a Number System?
► are the technique to represent numbers in the computer system architecture, every
value that you are saving or getting
into/from computer memory has a defined number system.
► Computer architecture supports following number systems: Binary number
system, Octal number system, Decimal number system, Hexadecimal (hex)
number system.
TYPES OF COMPUTER NUMBER
SYSTEMS
► DECIMAL NUMBER SYSTEM
- has only ten (10) digits from 0 to 9. Every number (value) represents with 0,1,2,3,4,5,6, 7,8 and 9 in
this number system. The base of decimal number
system is 10, because it has only 10 digits.
► BINARY NUMBER SYSTEM
- has only two digits that are 0 and 1. Every number (value) represents with 0 and 1 in this number
system. The base of binary number system is 2, because it has only two digits.
► OCTAL NUMBER SYSTEM
- has only eight (8) digits from 0 to 7. Every number (value) represents with 0,1,2,3,4,5,6
and 7 in this number system. The base of octal number system is 8, because it has only 8
digits.
► HEXADECIMAL NUMBER SYSTEM
- has sixteen (16) alphanumeric values from 0 to 9 and A to F. Every number (value)
represents with 0,1,2,3,4,5,6, 7,8,9,A,B,C,D,E and F in this number system. The base of
hexadecimal number system is 16, because it has 16 alphanumeric values. Here A is 10, B
is 11, C is 12, D is 13, E is 14 and F is 15.
CONVERSION
► BINARY TO DECIMAL
Please watch: https://www.youtube.com/watch?v=tJDGiohPBZU
► BINARY TO HEXADECIMAL
Please watch: https://www.youtube.com/watch?v=hEnPv3cYFI0
► BINARY TO OCTAL
Please watch: https://www.youtube.com/watch?v=JxmarqiqUdM
NOTE: 35 minutes to watch all videos
EXERCISES
► CONVERT THE FOLLOWING BINARY:
1. 0011 1010
2. 1010 0111
3. 0010 0110
► TO DECIMAL:
► TO HEXADECIMAL:
► TO OCTAL:
REVERSE CONVERSION
► DECIMAL TO BINARY
Please watch: https://www.youtube.com/watch?v=gGiEu7QTi68
► HEXADECIMAL TO BINARY
Please watch: https://www.youtube.com/watch?v=Z2pvB1L3IOI
► OCTAL TO BINARY
Please watch: https://www.youtube.com/watch?v=WkScocdUtbE
Note: 15 minutes to watch all videos
EXERCISES
► CONVERT THE FOLLOWING DECIMAL:
1. 25
2. 83
3. 67
► TO BINARY:
► TO HEXADECIMAL:
► TO OCTAL:
ARITHMETIC OPERATIONS
(BINARY)
► ADDITION & SUBTRACTION
Please watch: https://www.youtube.com/watch?v=C5EkxfNEMjE
► MULTIPLICATION
Please watch: https://www.youtube.com/watch?v=xHWKYFhhtJQ
► DIVISION
Please watch: https://www.youtube.com/watch?v=9d92h9HKflE
“I don't think there's anything unique about
human intelligence. All the neurons in the brain
that make up perceptions and emotions operate
in a binary fashion…”
- BILL GATES
THANK YOU