Introduction To Number Systems

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 16

Information &

Communications
Technologies
INF-106

Instructor: Assyl Abilakim


Laboratory work №1
Week 1

Learn Numerical Systems


Number Systems
Binary numbers and
their decimal
equivalents
● Decimal to binary conversion
For example,

Divide number by 2.

Reminder goes each columns.

22/2=11, 0

11/2=5 reminder 1

5/2=2 remainder 1

2/2=1, 0

1/2= 0, reminder 1.
● Binary to decimal conversion
Decimal to octal conversion
Example,

Divide number by 8.

22/8=16, reminder 6

2/8=0, reminder 2

Octal to decimal conversion


Hexadecimal
number
system
● Decimal to hexadecimal conversion

Divide the number by 16.

22/16=1 reminder 6

1/16=0 reminder 1

● Hexadecimal to decimal conversion


● Hexadecimal to binary conversion
Conversion between hexadecimal and binary is easy because each hexadecimal
digit directly corresponds to four binary digits.
● Binary to hexadecimal conversion

Start reading from the right.

The four least significant bits are


Practice
• 4810 to binary
• 1910 to binary
• 100102 to decimal
• 111002 to decimal
• 6416 to decimal
• 2E16 to decimal
Answers
• 4810 = 1100002
• 1910 = 100112
• 100102 = 1810
• 111002 = 2810
• 6416 = 10010
• 2E16 = 4610
Home work
● Laboratory work 1
Questions?

You might also like