






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























We are all familiar with the decimal
number system (Base 10). Some other
number systems that we will work with
are:
Significant Digits
Most significant digit Least significant digit
Most significant digit Least significant digit
Binary Number System
Also called the “Base 2 system”
The binary number system is used to
model the series of electrical signals
computers use to represent information
0 represents the no voltage or an off
state
1 represents the presence of voltage or an
on state
Binary Addition
4 Possible Binary Addition Combinations:
Carry Sum
Note that leading
zeroes are
frequently
dropped.
Decimal to Binary
Conversion
The easiest way to convert a decimal
number to its binary equivalent is to use
the Division Algorithm
This method repeatedly divides a decimal
number by 2 and records the quotient and
remainder
and ones) form the binary equivalent in
least significant to most significant digit
sequence
Binary to Decimal
Conversion
binary number to its decimal
equivalent is to use the
Multiplication Algorithm
powers of two, starting from the right
equivalent, sum those products
Multiplication Algorithm
Convert (10101101)
2
to its decimal equivalent :
Binary 1 0 1 0 1 1 0 1
Positional Values
x
x
x x x x
x x
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
128 + 32 + 8 + 4 + 1
Products
173
10
Decimal to Octal Conversion
Convert 427
10
to its octal equivalent:
427 / 8 = 53 R3 Divide by 8; R is LSD
53 / 8 = 6 R5 Divide Q by 8; R is next digit
6 / 8 = 0 R6 Repeat until Q = 0
653
8
Octal to Decimal Conversion
Convert 653
8
to its decimal equivalent:
x x
x
2
1
0
10
Positional Values
Products
Octal Digits
Hexadecimal Number
System
Convert 830
10
to its hexadecimal equivalent:
16
= E in Hex
The easiest method for converting binary
to hexadecimal is to use a substitution
code
Each hex number converts to 4 binary
digits
Substitution Code
Convert 010101101010111001101010
2
to
56AE6A
16