SlideShare a Scribd company logo
1 of 12
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

What's hot

Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unit
Anuj Modi
 
Introduction to the Binary Number System
Introduction to the Binary Number SystemIntroduction to the Binary Number System
Introduction to the Binary Number System
James Hamilton
 
Encryption And Decryption
Encryption And DecryptionEncryption And Decryption
Encryption And Decryption
NA
 

What's hot (20)

L attribute in compiler design
L  attribute in compiler designL  attribute in compiler design
L attribute in compiler design
 
Computer architecture data representation
Computer architecture  data representationComputer architecture  data representation
Computer architecture data representation
 
Micro programmed control
Micro programmed controlMicro programmed control
Micro programmed control
 
Polyalphabetic Substitution Cipher
Polyalphabetic Substitution CipherPolyalphabetic Substitution Cipher
Polyalphabetic Substitution Cipher
 
8086 alp
8086 alp8086 alp
8086 alp
 
Computer system organization
Computer system organizationComputer system organization
Computer system organization
 
hardwired control unit ppt
hardwired control unit ppthardwired control unit ppt
hardwired control unit ppt
 
Constant and variacles in c
Constant   and variacles in cConstant   and variacles in c
Constant and variacles in c
 
If else
If elseIf else
If else
 
1.Role lexical Analyzer
1.Role lexical Analyzer1.Role lexical Analyzer
1.Role lexical Analyzer
 
Hash Function
Hash FunctionHash Function
Hash Function
 
Single Pass Assembler
Single Pass AssemblerSingle Pass Assembler
Single Pass Assembler
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unit
 
Introduction to the Binary Number System
Introduction to the Binary Number SystemIntroduction to the Binary Number System
Introduction to the Binary Number System
 
Encryption And Decryption
Encryption And DecryptionEncryption And Decryption
Encryption And Decryption
 
Data encryption, Description, DES
Data encryption, Description, DESData encryption, Description, DES
Data encryption, Description, DES
 
Counters & time delay
Counters & time delayCounters & time delay
Counters & time delay
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Language processing activity
Language processing activityLanguage processing activity
Language processing activity
 
Binaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemesBinaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemes
 

Similar to number system.pptx

Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
HamnaKhalid25
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
Lovely Professional University
 

Similar to number system.pptx (20)

Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Number system
Number systemNumber system
Number system
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
 
Number system
Number systemNumber system
Number system
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptx
 
Acem numbersystem
Acem numbersystemAcem numbersystem
Acem numbersystem
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx
 
LEC 1.pptx
LEC 1.pptxLEC 1.pptx
LEC 1.pptx
 
1. basic theories of information
1. basic theories of information1. basic theories of information
1. basic theories of information
 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptx
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
Finite word length effects
Finite word length effectsFinite word length effects
Finite word length effects
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Cse115 lecture01numbersystems
Cse115 lecture01numbersystemsCse115 lecture01numbersystems
Cse115 lecture01numbersystems
 
21EC201– Digital Principles and system design.pptx
21EC201– Digital Principles and system design.pptx21EC201– Digital Principles and system design.pptx
21EC201– Digital Principles and system design.pptx
 
Sistem bilangan
Sistem bilanganSistem bilangan
Sistem bilangan
 
Number systems
Number systemsNumber systems
Number systems
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 

More from Pooja Dixit

More from Pooja Dixit (20)

Combinational circuit.pptx
Combinational circuit.pptxCombinational circuit.pptx
Combinational circuit.pptx
 
Multiplexer.pptx
Multiplexer.pptxMultiplexer.pptx
Multiplexer.pptx
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
K-Map.pptx
K-Map.pptxK-Map.pptx
K-Map.pptx
 
Karnaugh Map Simplification Rules.pptx
Karnaugh Map Simplification Rules.pptxKarnaugh Map Simplification Rules.pptx
Karnaugh Map Simplification Rules.pptx
 
Half Subtractor.pptx
Half Subtractor.pptxHalf Subtractor.pptx
Half Subtractor.pptx
 
Gray Code.pptx
Gray Code.pptxGray Code.pptx
Gray Code.pptx
 
Flip Flop.pptx
Flip Flop.pptxFlip Flop.pptx
Flip Flop.pptx
 
Encoder.pptx
Encoder.pptxEncoder.pptx
Encoder.pptx
 
De-multiplexer.pptx
De-multiplexer.pptxDe-multiplexer.pptx
De-multiplexer.pptx
 
DeMorgan’s Theory.pptx
DeMorgan’s Theory.pptxDeMorgan’s Theory.pptx
DeMorgan’s Theory.pptx
 
Combinational circuit.pptx
Combinational circuit.pptxCombinational circuit.pptx
Combinational circuit.pptx
 
Boolean Algebra.pptx
Boolean Algebra.pptxBoolean Algebra.pptx
Boolean Algebra.pptx
 
Binary Multiplication & Division.pptx
Binary Multiplication & Division.pptxBinary Multiplication & Division.pptx
Binary Multiplication & Division.pptx
 
Binary addition.pptx
Binary addition.pptxBinary addition.pptx
Binary addition.pptx
 
Basics of Computer Organization.pptx
Basics of Computer Organization.pptxBasics of Computer Organization.pptx
Basics of Computer Organization.pptx
 
Decoders
DecodersDecoders
Decoders
 
Three Address code
Three Address code Three Address code
Three Address code
 
Cyrus beck line clipping algorithm
Cyrus beck line clipping algorithmCyrus beck line clipping algorithm
Cyrus beck line clipping algorithm
 
3 d viewing projection
3 d viewing  projection3 d viewing  projection
3 d viewing projection
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.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: