INF_106_Lab 1

Слайд 2

Laboratory work №1
Week 1
Learn Numerical Systems

Laboratory work №1 Week 1 Learn Numerical Systems

Слайд 3

Number Systems

Number Systems

Слайд 4

Binary numbers and their decimal equivalents

Binary numbers and their decimal equivalents

Слайд 5

Decimal to binary conversion

For example,
Divide number by 2.
Reminder goes each columns.
22/2=11, 0
11/2=5

Decimal to binary conversion For example, Divide number by 2. Reminder goes
reminder 1
5/2=2 remainder 1
2/2=1, 0
1/2= 0, reminder 1.

Слайд 6

Binary to decimal conversion

Binary to decimal conversion

Слайд 7

Decimal to octal conversion

Example,
Divide number by 8.
22/8=16, reminder 6
2/8=0, reminder 2

Octal to

Decimal to octal conversion Example, Divide number by 8. 22/8=16, reminder 6
decimal conversion

Слайд 8

Hexadecimal
number
system

Hexadecimal number system

Слайд 9

Decimal to hexadecimal conversion
Divide the number by 16.
22/16=1 reminder 6
1/16=0 reminder 1

Hexadecimal

Decimal to hexadecimal conversion Divide the number by 16. 22/16=1 reminder 6
to decimal conversion

Слайд 10

Hexadecimal to binary conversion

Conversion between hexadecimal and binary is easy because each

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

Слайд 11

Binary to hexadecimal conversion
Start reading from the right.
The four least significant bits

Binary to hexadecimal conversion Start reading from the right. The four least significant bits are
are

Слайд 12

Practice

4810 to binary
1910 to binary
100102 to decimal
111002 to decimal
6416

Practice 4810 to binary 1910 to binary 100102 to decimal 111002 to
to decimal
2E16 to decimal

Слайд 14

Answers

4810 = 1100002
1910 = 100112
100102 = 1810
111002 = 2810
6416 =

Answers 4810 = 1100002 1910 = 100112 100102 = 1810 111002 =
10010
2E16 = 4610

Слайд 15

Home work

Laboratory work 1

Home work Laboratory work 1
Имя файла: INF_106_Lab-1.pptx
Количество просмотров: 37
Количество скачиваний: 0