Lecture 2 Numbering Systems-1
Lecture 2 Numbering Systems-1
Lecture 2 Numbering Systems-1
Number Systems
Presentation Layout
Introduction
Number conversion
Hexadecimal System
Questions
Conclusion
Lesson Objectives
At the end of the lecture the student should be able to:
• Recognize the basic characteristics of the decimal number system,
binary system, octal and hexadecimal systems.
• Count in the decimal number system, binary system, octal and
hexadecimal systems.
• Convert a number from one number system (decimal, binary,
octal, hexadecimal) to its equivalent in one of the other number
systems.
• understand the advantages of the octal and hexadecimal number
system.
Number System
• Decimal fraction
• 27.35 = (2 × 1 + (7 × ) + (3 × ) +(5 × ).
• Decimal point used to separate the integer and
fractional part of the number.
Decimal System ctd
• Formal notation
• 10
• 27.3510
Binary System
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111
HEXADECIMAL NUMBER SYSTEM
• The hexadecimal number system uses base 16 Radix 16. Thus, it has 16 possible
digit symbols.
• It uses the digits 0 through 9 plus the letters A, B, C, D, E, and F as the 16 digit
symbols.
• For hex numbers the digits 10, 11, 12, 13, 14, 15 are represented by A, B, C, D, E, F
• The digit positions are weighted as powers of 16 , rather than as powers of 10 as in
the decimal system.
HEXADECIMAL NUMBER
SYSTEM
• Note that each hexadecimal digit represents a
group of four binary digits.
• It is important to remember that Hex or H
(abbreviation for “hexadecimal”) digits A through
F are equivalent to the decimal values 10 through
15.
• The table shows the relationships among hexadecimal,
decimal, Octal and binary.
Convert a number from one number system to another