0% found this document useful (0 votes)
10 views8 pages

Number Basis

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views8 pages

Number Basis

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Number

Base
System
Ifunanya Iloh
Objective
s
At the end of this lesson, students should be able to;

1. Convert decimal numbers to binary numbers


2. Convert binary numbers to decimal numbers
3. Convert hexadecimal numbers to binary numbers
4. Convert octal numbers to corresponding decimal numbers
5. Convert decimal numbers to corresponding hexadecimal
numbers
Introduction to Number Base

A computer or any digital system works in a binary manner.


Converting from one number base to another can be really
simple, but the idea behind it can seem a bit confusing at
first. The main number systems used in digital hardware
are as follows:
Decimal Number System
The decimal number system (base 10) number system
has ten as its base. It uses various symbols called digit
for ten distinct value (0,1,2,3,4,5,6,7,8 and 9) to
represent numbers. In base ten, you have columns or
places for 100 = 1, 101 = 10, 102 = 100 and so on.
For example: 843 = 800 + 40 + 3
This is 8 hundreds, 4 tens and 3 units
=8x102 + 4x101 + 3x100
Binary Number
The binary number (base 2) number system represents values
using symbols typically 0 and 1. In base two 20 = 1, 21 = 2, 22 =
4, and so on.
E.g 19 in binary is 100112.

2 19 Convert from Binary to Decimal


290 1 100112 = 1x24 + 0x23 + 0x22 + 1x21 +
1x2
24 1 = 16 + 0 + 0 + 2 + 1
22 0 = 1910.
= 100112.
21 0
0 1
Octal Number
System
The octal number system is a base 8 number
system, uses the digits from 0 to 7.
For example
Convert 4548 to decimal and then to binary
4548 = 4x82 + 5x81 + 4x80
= 4x64 + 5x8 + 4x1
= 256 + 40 + 4
= 30010
30010 = 1001011002
Hexadecimal Number System
In the hexadecimal number system is a number with a base of 16,
usually written using symbols 0-9 and A-F.
012 3 4 5 6 7 8 9 A B C D E F

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Convert 7910 to hexadeciamal
2 79
2 39 1 0100 1111
2 19 1 4 F
2 9 1
2 4 1 1FF16 = 1x162 + Fx161 + Fx160
2 2 0 = 1x32 + 15x16 + 15x1
2 1 0 = 32 + 240 + 15
0 1 = 28710
Decimals vs Binary Equivalents
Decimal Binary Hexadecimal
(Base 10) (Base 2) (Base 16)
0 000 0000
1 001 0001
2 010 0010
3 011 0011
4 100 0100
5 101 0101
6 110 0110
7 111 0111
8 1000 1000
9 1001 1001
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E

You might also like