CONVERSION OF DECIMAL NUMBER TO BINARY, OCTAL AND HEXADECIMAL NUMBER

supriyodana 24 views 12 slides Feb 26, 2025
Slide 1
Slide 1 of 12
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12

About This Presentation

CONVERSION OF DECIMAL NUMBER TO BINARY, OCTAL AND HEXADECIMAL NUMBER


Slide Content

CONVERSION OF DECIMAL NUMBER TO
BINARY, OCTAL AND HEXADECIMAL
NUMBER
PRESENTED BY : SUPRIYO DANA
CLASS ROLL NO : L004; UNIVERSITY REF NO : 34223240050226
PAPER NAME :ANALOG & DIGITAL ELECTRONICS ; PAPER CODE: ESC 301
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
FUTURE INSTITUTE OF TECHNOLOGY

CONTENT
❑Introduction
❑Decimal Number System
❑Binary Number System
❑Octal & Hexadecimal Number System
❑Decimal to Binary conversion
❑Decimal to Octal conversion
❑Decimal to Hexadecimal conversion
❑Conclusion

Number : A number is a symbol which is used to express a quantity or amount.
Number System : A number system is an organized and systematic way of representing numbers.
Base :The base of a number system refers to the number of unique digits or symbols used to
represent values. It is also known as the radix.

Decimal Number System
❑The standard system most commonly used by humans.
❑This system include only 10 digits, from 0 to 9.

❑So, it also known as base-10 number system
❑0 is the minimum value and 9 is the maximum value.

Binary Number System
❑It is a base-2 system that uses only two digits, 0 and 1.
❑ It is fundamental in computer science and digital
electronics. In computer all data represent in binary.

Octal & Hexadecimal Number System
❑The octal number system is a base-8 system that uses
eight digits, 0 to 7.
❑The hexadecimal number system is a base-16 system that
uses sixteen digits, 0 to 9 and A to F.

Decimal to Binary conversion
▪Step 1: Divide by 2 : Start with the decimal
number. Divide it by 2 and record the
remainder.
▪Step 2: Repeat Division : Continue dividing
the quotient from the previous step by 2.
Record the remainders until the quotient is
0.
▪Step 3: Read in Reverse : Read the
remainders obtained from bottom to top.
The binary representation is the sequence
of remainders.

Decimal to Octal conversion
▪Step 1: Divide by 8 : Begin with the decimal number. Divide it by 8 and record the remainder.
▪Step 2: Repeat Division : Continue dividing the quotient from the previous step by 8. Record
the remainders until the quotient is 0.
▪Step 3: Read in Reverse : Read the remainders obtained from bottom to top. The octal
representation is the sequence of remainders.

Decimal to Hexadecimal conversion
▪Step 1:First, divide the decimal number by 16, considering the number as an integer.
▪Step 2:Keep aside the remainder.
▪Step 3:Again divide the quotient by 16 and repeat till you get the quotient value equal to zero.
▪Step 4:Now take the values of the remainder’s left in the reverse order to get the hexadecimal
numbers.
Note:Remember, from 0 to 9, the numbers will be countedas the samein the decimal system.
But from 10 to 15, they are expressed inalphabeticalorder such as A, B, C, D, E, F and so on.

Decimal to Hexadecimal conversion

CONCLUSION
•We explored the conversion of decimal numbers to binary, octal, and
hexadecimal.
•Understanding the base of a number system is crucial for accurate conversion.
•Each number system has unique advantages and is applicable in different
contexts.
•Number systems are fundamental in computer science, digital electronics, and
programming.
•Proficiency in converting between systems enhances problem-solving skills.

THANK YOU