You are on page 1of 22

CC 216

Digital Logic Design


Lecture 2
Number Systems
Outlines

1- Decimal Numbers

2- Binary Numbers

3- Binary Conversion

4- Binary Arithmetic
Decimal Numbers
Decimal Numbers
Binary Numbers
Binary Numbers

 The binary number system is another way to represent quantities.


It is less complicated than the decimal system because the binary
system has only two digits.
 The decimal system with its ten digits is a base-ten system; the
binary system with its two digits is a base-two system.
 The two binary digits (bits) are 1 and 0. The position of a 1 or 0 in
a binary number indicates its weight, or value within the number,
just as the position of a decimal digit determines the value of that
digit.
 The weights in a binary number are based on powers of two.
Binary Numbers
Binary Conversions
Binary-to-Decimal Conversion
Binary Conversions
Decimal-to-Binary Conversion
Binary Conversions
Converting Decimal Fractions to Binary
Binary Conversions
Binary Arithmetic
Binary Addition
Binary Addition
Binary Subtraction
1’s Complement
2’s Complement
Signed Binary Numbers
Signed Binary Numbers
Arithmetic Operations with Signed Numbers
Questions

You might also like