Professional Documents
Culture Documents
Topic 3 PDF
Topic 3 PDF
Topic 3
In which devices that Number System is used and how do they work? Example,
Binary number system, Hexadecimal number system, Decimal number system, and Octal
number system?
A Numeral System (or system of numeration) is a writing system for expressing
numbers; that is, a mathematical notation for representing numbers of a given set,
using digits or other symbols in a consistent manner.
The number the numeral represents is called its value.
Ideally, a numeral system will:
Or 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
A computer can understand the positional number system where there are only a few
symbols called digits and these symbols represent different values depending on the position
they occupy in the number.
• The digit
• The base of the number system (where the base is defined as the total number of digits
available in the number system)
There are 4 basic number systems in computers
• Binary number system
• Octal number system
• Decimal number system
• Hexadecimal number system
Page 1
Informatique Institut de Technologie du Cambodge
Each position represents a specific power of the base (10). For example, the decimal
number 1234 consists of the digit 4 in the unit’s position, 3 in the tens position, 2 in the
hundreds position, and 1 in the thousands position. Its value can be written as
• Each position in a binary number represents a 0 power of the base (2). Example 20
• Last position in a binary number represents a x power of the base (2). Example
2x where x represents the last position - 1.
Example
Binary Number: 10101 2
Page 2
Informatique Institut de Technologie du Cambodge
Step 3 10101 2 21 10
• Each position in an octal number represents a 0 power of the base (8). Example 80
• Last position in an octal number represents a x power of the base (8). Example
8x where x represents the last position - 1
Example
Octal Number: 12570 8
Page 3
Informatique Institut de Technologie du Cambodge
• Letters represent the numbers starting from 10. A = 10. B = 11, C = 12, D = 13,
E = 14, F = 15
Example, 160
Example
Hexadecimal Number: 19FDE 16
Step 2 19FDE 16 ((1 x 164) + (9 x 163) + (15 x 162) + (13 x 161) + (14 x 160)) 10
Page 4
Informatique Institut de Technologie du Cambodge
Page 5
Informatique Institut de Technologie du Cambodge
Page 6