SlideShare a Scribd company logo
DIGITAL ELECTRONICS
DR. R. M. THOMBRE
HEAD OF DEPT OF PHYSICS
M.G. COLLEGE ARMORI
NUMBER SYSTEMS
• Decimal
• Binary
• Octal
• Hexadecimal
• A digital system can understand
positional number system only
where there are a few symbols called
digits and these symbols represent
different values depending on the
position they occupy in the number.
• A value of each digit in a number can
be determined using
• The digit
• The position of the digit in the
number
• The base of the number system
(where base is defined as the total
number of digits available in the
number system).
NUMBER SYSTEMS
DECIMAL SYSTEM
• The number system that we use in our day-to-day life is
the decimal number system. Decimal number system has
base 10 as it uses 10 digits from 0 to 9. In decimal
number system, the successive positions to the left of the
decimal point represents units, tens, hundreds, thousands
and so on.
• Each position represents a specific power of the base (10).
For example, the decimal number 1234 consists of the
digit 4 in the units position, 3 in the tens position, 2 in the
hundreds position, and 1 in the thousands position, and
its value can be written as
(1×1000) + (2×100) + (3×10) + (4×l)
(1×103) + (2×102) + (3×101) + (4×l00)
1000 + 200 + 30 + 1 1234
BINARY NUMBER SYSTEM
• Characteristics
• Uses two digits, 0 and 1.
• Also called base 2 number system
• Each position in a binary number represents a 0 power
of the base (2). Example: 20
• Last position in a binary number represents an x power
of the base (2). Example: 2x where x represents the last
position - 1.
BINARY SYSTEM
• In mathematics and digital electronics, a binary
number is a number expressed in the base-2numeral
system or binary numeral system, which uses only
two symbols: typically 0 (zero) and 1 (one).
• The base-2 numeral system is a positional notation
with a radix of 2.
• Each digit is referred to as a bit.
I will teach about it briefly.
Step Binary Number Decimal Number
Step 1 101012 ((1 × 2
4
) + (0 × 2
3
) + (1 × 2
2
) + (0 × 2
1
)
+ (1 × 2
0
))10
Step 2 101012 (16 + 0 + 4 + 0 + 1)10
Step 3 101012 2110
Example
Binary Number: 101012
Calculating Decimal Equivalent −
.
Note: 101012 is normally written as 10101
OCTAL NUMBER SYSTEM
• Characteristics
• Uses eight digits, 0,1,2,3,4,5,6,7.
• Also called base 8 number system
• Each position in an octal number represents a 0 power
of the base (8). Example: 80
• Last position in an octal number represents an x power
of the base (8). Example: 8x where x represents the last
position - 1.
Step Octal Number Decimal Number
Step 1 125708 ((1 × 8
4
) + (2 × 8
3
) + (5 × 8
2
) + (7 × 8
1
)
+ (0 × 8
0
))10
Step 2 125708 (4096 + 1024 + 320 + 56 + 0)10
Step 3 125708 549610
Example
Octal Number − 125708
Calculating Decimal Equivalent −
Note: 125708 is normally written as 12570.
HEXADECIMAL NUMBER SYSTEM
• Characteristics
• Uses 10 digits and 6 letters, 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F.
• Letters represents numbers starting from 10. A = 10, B = 11, C =
12, D = 13, E = 14, F = 15.
• Also called base 16 number system.
• Each position in a hexadecimal number represents a 0 power of
the base (16). Example 160.
• Last position in a hexadecimal number represents an x power of
the base (16). Example 16x where x represents the last position -
1.
Step Hexadecimal Number Decimal Number
Step 1 19FDE16 ((1 × 16
4
) + (9 × 16
3
) + (F × 16
2
) + (D ×
16
1
) + (E × 16
0
))10
Step 2 19FDE16 ((1 × 16
4
) + (9 × 16
3
) + (15 × 16
2
) + (13
× 16
1
) + (14 × 16
0
))10
Step 3 19FDE16 (65536 + 36864 + 3840 + 208 + 14)10
Step 4 19FDE16 10646210
Example −
Hexadecimal Number: 19FDE16
Calculating Decimal Equivalent −
.
Note − 19FDE16 is normally written as 19FDE
DECIMAL FRACTION
• To the right of the
decimal point, the
digit 1 has a weight
0.1 (1/10), the digit
2 has a weight of
0.01 (1/100) and
the digit 5 has a
weight of
0.001(1/1000)
BINARY FRACTION
• The binary numbering system is a base-2 numbering system which
contains only two digits, a “0” or a “1”. Thus each digit of a binary
number can take the “0” or the “1” value with the position of the 0 or 1
indicating its value or weighting.
• Similar to decimal fractions, binary numbers can also be represented as
unsigned fractional numbers by placing the binary digits to the right of
the decimal point or in this case, binary point. Thus all the fractional
digits to the right of the binary point have respective weightings which
are negative powers of two, creating a binary fraction. In other words,
the powers of 2 are negative.
• So for the fractional binary numbers to the right of the binary point, the
weight of each digit becomes more negative giving: 2-1, 2-2, 2-3, 2-4, and
so on as shown.
BINARY FRACTIONS
Now lets suppose we have the following binary number of:
1101.01112, what will be its decimal number equivalent.
1101.0111 = (1×23) + (1×22) + (0×21) + (1×20) + (0×2-1) +
(1×2-2) + (1×2-3) + (1×2-4)
= 8 + 4 + 0 + 1 + 0 + 1/4 + 1/8 + 1/16
= 8 + 4 + 0 + 1 + 0 + 0.25 + 0.125 + 0.0625 = 13.437510
DECIMAL TO BINARY
CONVERSION
• A decimal like 19 can be converted into binary by repeatedly
dividing the number by 2 and collecting the remainders (double
dabble method)
• 2 19
2 9 – 1 LSB
2 4 – 1
2 2 – 0
2 1 -0
0 -1 MSB
• For decimal fractions, the fractional part has to be
multiplied by 2 successively and collecting the carries
from top to bottom. The multiplication can be
repeated till the fractional part becomes zero. If the
fractional part is not zero after four or five steps the
process can be stopped and we have to be satisfied
with the nearest value.
• For example the decimal fraction .625 is converted into
binary as
• 0.625 × 2 = 1.250; carry is 1 (MSB)
• 0.250 × 2 = 0.500; carry is 0
• 0.500 × 2 = 1.000; carry is 1 (LSB)
• Therefore (0.625)10 = (0.101)2
PROBLEMS- DECIMAL TO BINARY
• Convert (107.6875)
• Convert (52.4)
2 107
2 53 -1
2 26-1
2 13 -0
2 6 -1
2 3 -0
2 1 -1
0 -1
• 0.6875 = 0.10112
• 52.4 = 110100.01102
HEXADECIMAL TO DECIMAL
• Convert D5H to decimal
• (D5)H = (13×161 + 5×160)
= (13 ×16 + 5× 1)
= (208+5)
= 21310
• (E9)H = (233)H
• (3FC.8)H = (1020.5)H
• (FFFF)H = (65535)H
DECIMAL TO HEXADECIMAL
• Convert 213 to Hex
• 16 213
• 13 -5
• 0 -13 (D)
• (213)10 = D5H
HEXADECIMAL TO BINARY
• Convert (25)H to Binary
• 25H = (0010 0101)2
• Convert (3A.7) to Binary
• (3A.7)H = (0011 1010. 0111)2
• Convert (CD.E8) to Binary
• (CD.E8) = (1100 1101. 1110 1000)2
BINARY TO DECIMAL
• (1010.1101)2 = (A.D)H
• (110.101) = (0110.1010) = (6.A)H
• (1110.11)2 = (1110.1100) = (E.C)H
OCTAL TO DECIMAL
Decimal Octal Binary
0 0 000
1 1 001
2 2 010
3 3 011
4 4 100
5 5 101
6 6 110
7 7 111
OCTAL TO DECIMAL
• Convert (75)8 to decimal
• (75)8 = (7×81 + 5×80)
= (7×8 + 5× 1)
= (56+5)
= 6110
DECIMAL TO OCTAL
• Convert 6810 to octal
• 8 68
• 8 8 - 4
• 8 1 – 0
• 0 – 1
• (68)10 = (104)8
OCTAL TO BINARY
Octal Binary Decimal
27 010 111 2 3
135 001 011 101 93
45.5 100 101.101 37.625
BINARY TO OCTAL
• (10 101)2 = (010 101)2 = (25)8
• (10111.1) = (010 111 . 100) = (2 7 . 4)8
• Binary to decimal
• (11101)
• (111.11)
• Hex to decimal
• (50)H
• (3EF)H
• Decimal to Hex
• (48)10
• (1024)10
• Hex to binary (99)H , (FF.E6)H

More Related Content

What's hot

Number system and its conversions
Number system and its conversionsNumber system and its conversions
Number system and its conversions
ShilpaKrishna6
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
Lovely Singh
 
Number System
Number SystemNumber System
Lecture 3
Lecture 3Lecture 3
Lecture 3
Chamila Fernando
 
Subtractor (1)
Subtractor (1)Subtractor (1)
Subtractor (1)
Self-employed
 
Chapter 1: Binary System
 Chapter 1: Binary System Chapter 1: Binary System
Chapter 1: Binary System
Er. Nawaraj Bhandari
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
Gaditek
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
Meenakshi Paul
 
Binary codes
Binary codesBinary codes
Binary codes
Neha Jamini
 
Digital Logic & Design
Digital Logic & DesignDigital Logic & Design
Digital Logic & Design
Rokonuzzaman Rony
 
Representation Of Numbers and Characters
Representation Of Numbers and CharactersRepresentation Of Numbers and Characters
Representation Of Numbers and Characters
Shaikh Kamrul Islam (Konok kamrul)
 
Binary system ppt
Binary system pptBinary system ppt
Binary system ppt
BBDITM LUCKNOW
 
Binary addition and subtraction
Binary addition and subtractionBinary addition and subtraction
Binary addition and subtraction
babuece
 
Quick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationQuick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representation
Ritu Ranjan Shrivastwa
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
Unsa Shakir
 
Conversion of number system
Conversion of number systemConversion of number system
Conversion of number system
University of Potsdam
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
gavhays
 
Signed Binary Numbers
Signed Binary NumbersSigned Binary Numbers
Signed Binary Numbers
pyingkodi maran
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
SARITHA REDDY
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
MOHAN MOHAN
 

What's hot (20)

Number system and its conversions
Number system and its conversionsNumber system and its conversions
Number system and its conversions
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
 
Number System
Number SystemNumber System
Number System
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Subtractor (1)
Subtractor (1)Subtractor (1)
Subtractor (1)
 
Chapter 1: Binary System
 Chapter 1: Binary System Chapter 1: Binary System
Chapter 1: Binary System
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Binary codes
Binary codesBinary codes
Binary codes
 
Digital Logic & Design
Digital Logic & DesignDigital Logic & Design
Digital Logic & Design
 
Representation Of Numbers and Characters
Representation Of Numbers and CharactersRepresentation Of Numbers and Characters
Representation Of Numbers and Characters
 
Binary system ppt
Binary system pptBinary system ppt
Binary system ppt
 
Binary addition and subtraction
Binary addition and subtractionBinary addition and subtraction
Binary addition and subtraction
 
Quick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationQuick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representation
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
Conversion of number system
Conversion of number systemConversion of number system
Conversion of number system
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Signed Binary Numbers
Signed Binary NumbersSigned Binary Numbers
Signed Binary Numbers
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
 

Similar to Number system

DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptx
MamataAnilgod
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
4NM21IS132SAISHARATH
 
Data representation
Data representationData representation
Data representation
Chew Hoong
 
Digital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdfDigital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdf
Kannan Kanagaraj
 
L 2.10
L 2.10L 2.10
Standard 9th Number System Power point presentation
Standard 9th Number System Power point presentationStandard 9th Number System Power point presentation
Standard 9th Number System Power point presentation
hemangipednekar0812
 
Number Systems
Number SystemsNumber Systems
Number Systems
Infinity Tech Solutions
 
digital-electronics.pptx
digital-electronics.pptxdigital-electronics.pptx
digital-electronics.pptx
sulekhasaxena2
 
Chapter 1
Chapter   1Chapter   1
Chapter 1
sougataghosh1984
 
Digital design chap 1
Digital design  chap 1Digital design  chap 1
Digital design chap 1
Mohammad Bappy
 
digitalelectronics.ppt
digitalelectronics.pptdigitalelectronics.ppt
digitalelectronics.ppt
HarshalVaidya11
 
Number_Systems (2).ppt
Number_Systems (2).pptNumber_Systems (2).ppt
Number_Systems (2).ppt
nivedita murugan
 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
GnanaDeepikaMeduri
 
Cse115 lecture01numbersystems
Cse115 lecture01numbersystemsCse115 lecture01numbersystems
Cse115 lecture01numbersystems
Md. Ashikur Rahman
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1
Deepak John
 
1. basic theories of information
1. basic theories of information1. basic theories of information
1. basic theories of information
'Cedrick SuperGreenilistic Expialidocious Antonino
 
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
LibanMohamed26
 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
Emmanuel Eniola Falade
 
Number system
Number systemNumber system
Number system
kashee99
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptx
AminaZahid16
 

Similar to Number system (20)

DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptx
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
 
Data representation
Data representationData representation
Data representation
 
Digital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdfDigital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdf
 
L 2.10
L 2.10L 2.10
L 2.10
 
Standard 9th Number System Power point presentation
Standard 9th Number System Power point presentationStandard 9th Number System Power point presentation
Standard 9th Number System Power point presentation
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
digital-electronics.pptx
digital-electronics.pptxdigital-electronics.pptx
digital-electronics.pptx
 
Chapter 1
Chapter   1Chapter   1
Chapter 1
 
Digital design chap 1
Digital design  chap 1Digital design  chap 1
Digital design chap 1
 
digitalelectronics.ppt
digitalelectronics.pptdigitalelectronics.ppt
digitalelectronics.ppt
 
Number_Systems (2).ppt
Number_Systems (2).pptNumber_Systems (2).ppt
Number_Systems (2).ppt
 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
 
Cse115 lecture01numbersystems
Cse115 lecture01numbersystemsCse115 lecture01numbersystems
Cse115 lecture01numbersystems
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1
 
1. basic theories of information
1. basic theories of information1. basic theories of information
1. basic theories of information
 
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
 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
 
Number system
Number systemNumber system
Number system
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptx
 

More from rameshthombre1

Standin wave
Standin waveStandin wave
Standin wave
rameshthombre1
 
Nand and nor gate
Nand and nor gateNand and nor gate
Nand and nor gate
rameshthombre1
 
Logic gates
Logic gatesLogic gates
Logic gates
rameshthombre1
 
Lissajous method
Lissajous methodLissajous method
Lissajous method
rameshthombre1
 
Group velocity and phase velocity
Group velocity and phase velocityGroup velocity and phase velocity
Group velocity and phase velocity
rameshthombre1
 
Flip flops
Flip flopsFlip flops
Flip flops
rameshthombre1
 
Number system
Number systemNumber system
Number system
rameshthombre1
 

More from rameshthombre1 (7)

Standin wave
Standin waveStandin wave
Standin wave
 
Nand and nor gate
Nand and nor gateNand and nor gate
Nand and nor gate
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Lissajous method
Lissajous methodLissajous method
Lissajous method
 
Group velocity and phase velocity
Group velocity and phase velocityGroup velocity and phase velocity
Group velocity and phase velocity
 
Flip flops
Flip flopsFlip flops
Flip flops
 
Number system
Number systemNumber system
Number system
 

Recently uploaded

Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 

Recently uploaded (20)

Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 

Number system

  • 1. DIGITAL ELECTRONICS DR. R. M. THOMBRE HEAD OF DEPT OF PHYSICS M.G. COLLEGE ARMORI
  • 2. NUMBER SYSTEMS • Decimal • Binary • Octal • Hexadecimal
  • 3. • A digital system can understand positional number system only where there are a few symbols called digits and these symbols represent different values depending on the position they occupy in the number. • A value of each digit in a number can be determined using • The digit • The position of the digit in the number • The base of the number system (where base is defined as the total number of digits available in the number system).
  • 5. DECIMAL SYSTEM • The number system that we use in our day-to-day life is the decimal number system. Decimal number system has base 10 as it uses 10 digits from 0 to 9. In decimal number system, the successive positions to the left of the decimal point represents units, tens, hundreds, thousands and so on. • Each position represents a specific power of the base (10). For example, the decimal number 1234 consists of the digit 4 in the units position, 3 in the tens position, 2 in the hundreds position, and 1 in the thousands position, and its value can be written as
  • 6. (1×1000) + (2×100) + (3×10) + (4×l) (1×103) + (2×102) + (3×101) + (4×l00) 1000 + 200 + 30 + 1 1234
  • 7.
  • 8. BINARY NUMBER SYSTEM • Characteristics • Uses two digits, 0 and 1. • Also called base 2 number system • Each position in a binary number represents a 0 power of the base (2). Example: 20 • Last position in a binary number represents an x power of the base (2). Example: 2x where x represents the last position - 1.
  • 9. BINARY SYSTEM • In mathematics and digital electronics, a binary number is a number expressed in the base-2numeral system or binary numeral system, which uses only two symbols: typically 0 (zero) and 1 (one). • The base-2 numeral system is a positional notation with a radix of 2. • Each digit is referred to as a bit. I will teach about it briefly.
  • 10. Step Binary Number Decimal Number Step 1 101012 ((1 × 2 4 ) + (0 × 2 3 ) + (1 × 2 2 ) + (0 × 2 1 ) + (1 × 2 0 ))10 Step 2 101012 (16 + 0 + 4 + 0 + 1)10 Step 3 101012 2110 Example Binary Number: 101012 Calculating Decimal Equivalent − . Note: 101012 is normally written as 10101
  • 11. OCTAL NUMBER SYSTEM • Characteristics • Uses eight digits, 0,1,2,3,4,5,6,7. • Also called base 8 number system • Each position in an octal number represents a 0 power of the base (8). Example: 80 • Last position in an octal number represents an x power of the base (8). Example: 8x where x represents the last position - 1.
  • 12. Step Octal Number Decimal Number Step 1 125708 ((1 × 8 4 ) + (2 × 8 3 ) + (5 × 8 2 ) + (7 × 8 1 ) + (0 × 8 0 ))10 Step 2 125708 (4096 + 1024 + 320 + 56 + 0)10 Step 3 125708 549610 Example Octal Number − 125708 Calculating Decimal Equivalent − Note: 125708 is normally written as 12570.
  • 13. HEXADECIMAL NUMBER SYSTEM • Characteristics • Uses 10 digits and 6 letters, 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. • Letters represents numbers starting from 10. A = 10, B = 11, C = 12, D = 13, E = 14, F = 15. • Also called base 16 number system. • Each position in a hexadecimal number represents a 0 power of the base (16). Example 160. • Last position in a hexadecimal number represents an x power of the base (16). Example 16x where x represents the last position - 1.
  • 14.
  • 15. Step Hexadecimal Number Decimal Number Step 1 19FDE16 ((1 × 16 4 ) + (9 × 16 3 ) + (F × 16 2 ) + (D × 16 1 ) + (E × 16 0 ))10 Step 2 19FDE16 ((1 × 16 4 ) + (9 × 16 3 ) + (15 × 16 2 ) + (13 × 16 1 ) + (14 × 16 0 ))10 Step 3 19FDE16 (65536 + 36864 + 3840 + 208 + 14)10 Step 4 19FDE16 10646210 Example − Hexadecimal Number: 19FDE16 Calculating Decimal Equivalent − . Note − 19FDE16 is normally written as 19FDE
  • 16. DECIMAL FRACTION • To the right of the decimal point, the digit 1 has a weight 0.1 (1/10), the digit 2 has a weight of 0.01 (1/100) and the digit 5 has a weight of 0.001(1/1000)
  • 17.
  • 18. BINARY FRACTION • The binary numbering system is a base-2 numbering system which contains only two digits, a “0” or a “1”. Thus each digit of a binary number can take the “0” or the “1” value with the position of the 0 or 1 indicating its value or weighting. • Similar to decimal fractions, binary numbers can also be represented as unsigned fractional numbers by placing the binary digits to the right of the decimal point or in this case, binary point. Thus all the fractional digits to the right of the binary point have respective weightings which are negative powers of two, creating a binary fraction. In other words, the powers of 2 are negative. • So for the fractional binary numbers to the right of the binary point, the weight of each digit becomes more negative giving: 2-1, 2-2, 2-3, 2-4, and so on as shown.
  • 20.
  • 21. Now lets suppose we have the following binary number of: 1101.01112, what will be its decimal number equivalent. 1101.0111 = (1×23) + (1×22) + (0×21) + (1×20) + (0×2-1) + (1×2-2) + (1×2-3) + (1×2-4) = 8 + 4 + 0 + 1 + 0 + 1/4 + 1/8 + 1/16 = 8 + 4 + 0 + 1 + 0 + 0.25 + 0.125 + 0.0625 = 13.437510
  • 22. DECIMAL TO BINARY CONVERSION • A decimal like 19 can be converted into binary by repeatedly dividing the number by 2 and collecting the remainders (double dabble method) • 2 19 2 9 – 1 LSB 2 4 – 1 2 2 – 0 2 1 -0 0 -1 MSB
  • 23. • For decimal fractions, the fractional part has to be multiplied by 2 successively and collecting the carries from top to bottom. The multiplication can be repeated till the fractional part becomes zero. If the fractional part is not zero after four or five steps the process can be stopped and we have to be satisfied with the nearest value. • For example the decimal fraction .625 is converted into binary as
  • 24. • 0.625 × 2 = 1.250; carry is 1 (MSB) • 0.250 × 2 = 0.500; carry is 0 • 0.500 × 2 = 1.000; carry is 1 (LSB) • Therefore (0.625)10 = (0.101)2
  • 25. PROBLEMS- DECIMAL TO BINARY • Convert (107.6875) • Convert (52.4) 2 107 2 53 -1 2 26-1 2 13 -0 2 6 -1 2 3 -0 2 1 -1 0 -1
  • 26. • 0.6875 = 0.10112 • 52.4 = 110100.01102
  • 27. HEXADECIMAL TO DECIMAL • Convert D5H to decimal • (D5)H = (13×161 + 5×160) = (13 ×16 + 5× 1) = (208+5) = 21310
  • 28. • (E9)H = (233)H • (3FC.8)H = (1020.5)H • (FFFF)H = (65535)H
  • 29. DECIMAL TO HEXADECIMAL • Convert 213 to Hex • 16 213 • 13 -5 • 0 -13 (D) • (213)10 = D5H
  • 30. HEXADECIMAL TO BINARY • Convert (25)H to Binary • 25H = (0010 0101)2 • Convert (3A.7) to Binary • (3A.7)H = (0011 1010. 0111)2 • Convert (CD.E8) to Binary • (CD.E8) = (1100 1101. 1110 1000)2
  • 31. BINARY TO DECIMAL • (1010.1101)2 = (A.D)H • (110.101) = (0110.1010) = (6.A)H • (1110.11)2 = (1110.1100) = (E.C)H
  • 32. OCTAL TO DECIMAL Decimal Octal Binary 0 0 000 1 1 001 2 2 010 3 3 011 4 4 100 5 5 101 6 6 110 7 7 111
  • 33. OCTAL TO DECIMAL • Convert (75)8 to decimal • (75)8 = (7×81 + 5×80) = (7×8 + 5× 1) = (56+5) = 6110
  • 34. DECIMAL TO OCTAL • Convert 6810 to octal • 8 68 • 8 8 - 4 • 8 1 – 0 • 0 – 1 • (68)10 = (104)8
  • 35. OCTAL TO BINARY Octal Binary Decimal 27 010 111 2 3 135 001 011 101 93 45.5 100 101.101 37.625
  • 36. BINARY TO OCTAL • (10 101)2 = (010 101)2 = (25)8 • (10111.1) = (010 111 . 100) = (2 7 . 4)8
  • 37. • Binary to decimal • (11101) • (111.11) • Hex to decimal • (50)H • (3EF)H • Decimal to Hex • (48)10 • (1024)10 • Hex to binary (99)H , (FF.E6)H