SlideShare a Scribd company logo
Number System in Digital Electronics
Prof. Neeraj Bhargava
Pooja Dixit
Department of Computer Science,
School of Engineering & System
Sciences
MDS University Ajmer, Rajasthan
• Definition: In digital electronics, the number system is used for representing the
information.
• The number system has different bases (radix) and the most common of them are the
decimal, binary, octal, and hexadecimal.
• Suppose if the number system representing the digit from 0 – 9 then the base
of the system is the 10.
• Types of Number Systems
Some of the important types of number system are
▫ Decimal Number System (Base 10)
▫ Binary Number System (Base 10)
▫ Octal Number System (Base 10)
▫ Hexadecimal Number System (Base 10)
What are Number System?
What are Number System?
1. Binary Number Systems
• It uses only two digits 0 and1.The base of binary number system is 2 because it has only
two digit 0 and 1.
• The digital electronic equipments are works on the binary number system
and hence the decimal number system is converted into binary system.
• Note: 1 Byte= 8 Bit
• 1 Bit=4 Nibble
• Examples:
• (10100)2, (11011)2, (11001)2, (000101)2, (011010)2.
2. Decimal Number Systems
• The number system is having digit 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; this number system is known
as a decimal number system because total ten digits are involved. The base of the decimal
number system is 10.
What are Number System?
3. Octal Number System
• The octal number system has base 8(means it has only eight digits from
0 to 7).
• There are only eight possible digit values to represent a number. With
the help of only three bits, an octal number is represented. Each set of
bits has a distinct value between 0 and 7.
• Examples:
• (273)8, (5644)8, (0.5365)8, (1123)8, (1223)8.
Number Octal Number
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111
What are Number System?
4. Hexadecimal Number System
• The number system has a base of 16 means there are total 16 symbols (0, 1, 2, 3, 4, 5, 6, 7,
8, 9, A, B, C, D, E, F) used for representing a number.
• The single-bit representation of decimal values10, 11, 12, 13, 14, and 15 are represented by
A, B, C, D, E, and F.
• Only 4 bits are required for representing a number in a hexadecimal number.
• Examples:
• (FAC2)16, (564)16, (0ABD5)16, (1123)16, (11F3)16.
Binary Number Hexadecimal Number
0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 A
1011 B
1100 C
1101 D
1110 E
1111 F
Number Base Conversion
Number Base Conversion
1. Binary to Decimal Conversion
• The process of converting binary to decimal is quite simple. The process
starts from multiplying the bits of binary number with its corresponding
positional weights. And lastly, we add all those products.
• Let's take an example to understand how the conversion is done from binary
to decimal.
• Ex: 10101
Number Base Conversion
1. Ex: 111012
• Binary Number − 111012 = Decimal Number − 2910
Step Binary Number Decimal Number
Step
1
111012 ((1 × 2
4
) + (1 × 2
3
) + (1 × 2
2
) + (0 × 2
1
) + (1 × 2
0
))10
Step
2
111012 (16 + 8 + 4 + 0 + 1)10
Step
3
111012 2910
Binary to Decimal Conversion for Fractional Number
• Ex: .0101
• Example 1: (10110.001)2
• We multiplied each bit of (10110.001)2 with its
respective positional weight, and last we add the
products of all the bits with its weight.
• (10110.001)2=(1×24)+(0×23)+(1×22)+(1×21)+(0×20)+
(0×2-1)+(0×2-2)+(1×2-3)
(10110.001)2=(1×16)+(0×8)+(1×4)+(1×2)+(0×1)+
(0×1⁄2)+(0×1⁄4)+(1×1⁄8)
(10110.001)2=16+0+4+2+0+0+0+0.125
(10110.001)2=(22.125 )10
Binary to Decimal Conversion For Mixed Number
Ex: 1101.101
After disregarding the weight 21 and 2-1 and on summing up the
remaining weights the required decimal number is 13.625.
Questions
convert the following binary numbers to decimal equivalents:
A, 001100
B, 000011
C, 011100
D, 111100
E, 111111
Solutions:

More Related Content

PPTX
Decimal, Binary, Octal, And Hexadecimal number systems.
PDF
Binary codes
PDF
Binary codes
PPTX
Unit 4-booth algorithm
PPTX
COMPUTER INSTRUCTIONS & TIMING & CONTROL.
PPTX
1.1.2 HEXADECIMAL
PPTX
CISC & RISC Architecture
PDF
Chapter 1-Microprocessors, Microcomputers, and Assembly Language
Decimal, Binary, Octal, And Hexadecimal number systems.
Binary codes
Binary codes
Unit 4-booth algorithm
COMPUTER INSTRUCTIONS & TIMING & CONTROL.
1.1.2 HEXADECIMAL
CISC & RISC Architecture
Chapter 1-Microprocessors, Microcomputers, and Assembly Language

What's hot (20)

PPT
Central processing unit and stack organization r013
PPTX
Computer architecture instruction formats
PPTX
General register organization (computer organization)
PPTX
RISC and CISC Processors
PPTX
All About VLSI In PPT
PPTX
Microprocessor Presentation
PPTX
Number System
PPT
memory classification
PPTX
Von Neumann vs Harvard Architecture
PDF
Processor Organization and Architecture
PPTX
Arithmetic and logical instructions
PPT
Von Neumann Architecture
PDF
What is bcd number system
PPT
Logic gates
PPT
Hexadecimal numbers
PPTX
PPTX
PPTX
Combinational circuit
PPTX
Addressing mode Computer Architecture
PPTX
Binary Multiplication & Division.pptx
Central processing unit and stack organization r013
Computer architecture instruction formats
General register organization (computer organization)
RISC and CISC Processors
All About VLSI In PPT
Microprocessor Presentation
Number System
memory classification
Von Neumann vs Harvard Architecture
Processor Organization and Architecture
Arithmetic and logical instructions
Von Neumann Architecture
What is bcd number system
Logic gates
Hexadecimal numbers
Combinational circuit
Addressing mode Computer Architecture
Binary Multiplication & Division.pptx
Ad

Similar to number system.pptx (20)

PPTX
Number System & codes.pptx ye mg of the day
PPTX
1.Digital Electronics overview & Number Systems.pptx
PPTX
Number Systems Lec and their conversions 1.pptx
PDF
Module 1 number systems and code1
PDF
Lecture-2(2): Number System & Conversion
PPT
Number system
PPTX
Number System ..........................
PDF
Number systems
PPTX
NUMBER SYSTEM.pptx
PPTX
Number system
PDF
Introduction to Computing - Basic Theories Of Information
PPTX
MATATAG Grade 7 Additional Material NUmber system.pptx
PPTX
Number systems
PPTX
Acem numbersystem
PDF
Digital Electronics Notes.pdf
PPTX
Digital Principles & System Design Unit1_Number systems
PPTX
Ch-06 (Comp) - Number System.pptx important
PPTX
LEC 1.pptx
PPTX
Number systems and conversions
PPTX
Lecture :different _Number System_.pptx
Number System & codes.pptx ye mg of the day
1.Digital Electronics overview & Number Systems.pptx
Number Systems Lec and their conversions 1.pptx
Module 1 number systems and code1
Lecture-2(2): Number System & Conversion
Number system
Number System ..........................
Number systems
NUMBER SYSTEM.pptx
Number system
Introduction to Computing - Basic Theories Of Information
MATATAG Grade 7 Additional Material NUmber system.pptx
Number systems
Acem numbersystem
Digital Electronics Notes.pdf
Digital Principles & System Design Unit1_Number systems
Ch-06 (Comp) - Number System.pptx important
LEC 1.pptx
Number systems and conversions
Lecture :different _Number System_.pptx
Ad

More from Pooja Dixit (20)

PPTX
Combinational circuit.pptx
PPTX
Multiplexer.pptx
PPTX
Logic Gates.pptx
PPTX
K-Map.pptx
PPTX
Karnaugh Map Simplification Rules.pptx
PPTX
Half Subtractor.pptx
PPTX
Gray Code.pptx
PPTX
Flip Flop.pptx
PPTX
Encoder.pptx
PPTX
De-multiplexer.pptx
PPTX
DeMorgan’s Theory.pptx
PPTX
Combinational circuit.pptx
PPTX
Boolean Algebra.pptx
PPTX
Binary addition.pptx
PPTX
Basics of Computer Organization.pptx
PPTX
Decoders
PPTX
Three Address code
PPTX
Cyrus beck line clipping algorithm
PPTX
3 d viewing projection
PPTX
3 d transformation
Combinational circuit.pptx
Multiplexer.pptx
Logic Gates.pptx
K-Map.pptx
Karnaugh Map Simplification Rules.pptx
Half Subtractor.pptx
Gray Code.pptx
Flip Flop.pptx
Encoder.pptx
De-multiplexer.pptx
DeMorgan’s Theory.pptx
Combinational circuit.pptx
Boolean Algebra.pptx
Binary addition.pptx
Basics of Computer Organization.pptx
Decoders
Three Address code
Cyrus beck line clipping algorithm
3 d viewing projection
3 d transformation

Recently uploaded (20)

PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Pre independence Education in Inndia.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Institutional Correction lecture only . . .
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
master seminar digital applications in india
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
01-Introduction-to-Information-Management.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Pre independence Education in Inndia.pdf
Complications of Minimal Access Surgery at WLH
Abdominal Access Techniques with Prof. Dr. R K Mishra
Institutional Correction lecture only . . .
Module 4: Burden of Disease Tutorial Slides S2 2025
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Anesthesia in Laparoscopic Surgery in India
master seminar digital applications in india
human mycosis Human fungal infections are called human mycosis..pptx
Cell Types and Its function , kingdom of life
01-Introduction-to-Information-Management.pdf
Supply Chain Operations Speaking Notes -ICLT Program
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Microbial disease of the cardiovascular and lymphatic systems
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
O5-L3 Freight Transport Ops (International) V1.pdf

number system.pptx

  • 1. Number System in Digital Electronics Prof. Neeraj Bhargava Pooja Dixit Department of Computer Science, School of Engineering & System Sciences MDS University Ajmer, Rajasthan
  • 2. • Definition: In digital electronics, the number system is used for representing the information. • The number system has different bases (radix) and the most common of them are the decimal, binary, octal, and hexadecimal. • Suppose if the number system representing the digit from 0 – 9 then the base of the system is the 10. • Types of Number Systems Some of the important types of number system are ▫ Decimal Number System (Base 10) ▫ Binary Number System (Base 10) ▫ Octal Number System (Base 10) ▫ Hexadecimal Number System (Base 10) What are Number System?
  • 3. What are Number System? 1. Binary Number Systems • It uses only two digits 0 and1.The base of binary number system is 2 because it has only two digit 0 and 1. • The digital electronic equipments are works on the binary number system and hence the decimal number system is converted into binary system. • Note: 1 Byte= 8 Bit • 1 Bit=4 Nibble • Examples: • (10100)2, (11011)2, (11001)2, (000101)2, (011010)2. 2. Decimal Number Systems • The number system is having digit 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; this number system is known as a decimal number system because total ten digits are involved. The base of the decimal number system is 10.
  • 4. What are Number System? 3. Octal Number System • The octal number system has base 8(means it has only eight digits from 0 to 7). • There are only eight possible digit values to represent a number. With the help of only three bits, an octal number is represented. Each set of bits has a distinct value between 0 and 7. • Examples: • (273)8, (5644)8, (0.5365)8, (1123)8, (1223)8. Number Octal Number 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111
  • 5. What are Number System? 4. Hexadecimal Number System • The number system has a base of 16 means there are total 16 symbols (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F) used for representing a number. • The single-bit representation of decimal values10, 11, 12, 13, 14, and 15 are represented by A, B, C, D, E, and F. • Only 4 bits are required for representing a number in a hexadecimal number. • Examples: • (FAC2)16, (564)16, (0ABD5)16, (1123)16, (11F3)16. Binary Number Hexadecimal Number 0000 0 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1001 9 1010 A 1011 B 1100 C 1101 D 1110 E 1111 F
  • 7. Number Base Conversion 1. Binary to Decimal Conversion • The process of converting binary to decimal is quite simple. The process starts from multiplying the bits of binary number with its corresponding positional weights. And lastly, we add all those products. • Let's take an example to understand how the conversion is done from binary to decimal. • Ex: 10101
  • 8. Number Base Conversion 1. Ex: 111012 • Binary Number − 111012 = Decimal Number − 2910 Step Binary Number Decimal Number Step 1 111012 ((1 × 2 4 ) + (1 × 2 3 ) + (1 × 2 2 ) + (0 × 2 1 ) + (1 × 2 0 ))10 Step 2 111012 (16 + 8 + 4 + 0 + 1)10 Step 3 111012 2910
  • 9. Binary to Decimal Conversion for Fractional Number • Ex: .0101
  • 10. • Example 1: (10110.001)2 • We multiplied each bit of (10110.001)2 with its respective positional weight, and last we add the products of all the bits with its weight. • (10110.001)2=(1×24)+(0×23)+(1×22)+(1×21)+(0×20)+ (0×2-1)+(0×2-2)+(1×2-3) (10110.001)2=(1×16)+(0×8)+(1×4)+(1×2)+(0×1)+ (0×1⁄2)+(0×1⁄4)+(1×1⁄8) (10110.001)2=16+0+4+2+0+0+0+0.125 (10110.001)2=(22.125 )10
  • 11. Binary to Decimal Conversion For Mixed Number Ex: 1101.101 After disregarding the weight 21 and 2-1 and on summing up the remaining weights the required decimal number is 13.625.
  • 12. Questions convert the following binary numbers to decimal equivalents: A, 001100 B, 000011 C, 011100 D, 111100 E, 111111 Solutions: