SlideShare a Scribd company logo
1 of 25
Download to read offline
Digital Logic Design
NUMBER SYSTEMS
1
2
Prepared by: Mir Omranudin Abhar
Email : MirOmran@Gmail.com
Fall ,2019
Number systems
Number systems are the technique to represent numbers in the computer
system architecture, every value that you are saving or getting into/from
computer memory has a defined number system.
2
Number systems
Computer architecture supports following number systems.
1. Binary number system
2. Octal number system
3. Decimal number system
4. Hexadecimal (hex) number system
3
Number systems [Binary ]
A Binary number system has only two digits that are 0 and 1. Every number
(value) represents with 0 and 1 in this number system. The base of binary
number system is 2, because it has only two digits
4
0 , 1
1 ≥ ≥ 𝟎
Number systems [Octal]
1. Octal number system has only eight (8) digits from 0 to 7.
2. The base of octal number system is 8, because it has only 8 digits.
5
0 , 1 , 2 , 3 , 4 , 5 , 6 , 7
7 ≥ ≥ 𝟎
Number systems [Decimal]
1. Decimal number system has only ten (10) digits from 0 to 9.
2. The base of decimal number system is 10, because it has only 10 digits.
6
0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9
9 ≥ ≥ 𝟎
Number systems [Hexadecimal]
1. A Hexadecimal number system has sixteen (16) alphanumeric values
from 0 to 9 and A to F.
2. The base of hexadecimal number system is 16, because it has 16
alphanumeric values. Here A is 10, B is 11, C is 12, D is 13, E is
14 and F is 15.
7
0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , A , B , C , D , E , F
F ≥ ≥ 𝟎
8
Conversion
(𝑛)10 → (𝑚)2
(𝑛)10 → (𝑚)8
(𝑛)10 → (𝑚)16
1
Convert Decimal to [ Binary ]
9
(47)10 = (101111)2
Convert Decimal to [ Octal ]
10
(47)10 = (57)8
Convert Decimal to [hexadecimal ]
11
(47)10 = (2𝐹)16
12
Conversion
(𝑛)2 → (𝑚)10
(𝑛)2 → (𝑚)8
(𝑛)2 → (𝑚)16
2
Convert Binary to [Decimal ]
13
(101111)2 = (47)10
101111 2 ⇒ 1 ∗ 25
+ 0 ∗ 24
+ 1 ∗ 23
+ 1 ∗ 22
+ 1 ∗ 21
+ 1 ∗ 20
⇒ 32 + 0 + 8 + 4 + 2 + 1
⇒ (47)10
Convert Binary to [Octal ]
14
(101111)2 = (57)8
101111 2 ⇒ 1 ∗ 25 + 0 ∗ 24 + 1 ∗ 23 + 1 ∗ 22 + 1 ∗ 21 + 1 ∗ 20
⇒ 32 + 0 + 8 + 4 + 2 + 1
⇒ (47)10
Convert Binary to [hexadecimal]
15
(101111)2 = (2𝐹)16
101111 2 ⇒ 1 ∗ 25 + 0 ∗ 24 + 1 ∗ 23 + 1 ∗ 22 + 1 ∗ 21 + 1 ∗ 20
⇒ 32 + 0 + 8 + 4 + 2 + 1
⇒ (47)10
16
Conversion
(𝑛)8 → (𝑚)10
(𝑛)8 → (𝑚)2
(𝑛)8 → (𝑚)16
3
Convert Octal to [Decimal]
17
(57)8 = (47)10
57 8 ⇒ 5 ∗ 81
+ 7 ∗ 80
⇒ 40 + 7
⇒ (47)10
Convert Octal to [Binary]
18
(57)8 = (101111)2
57 8 ⇒ 5 ∗ 81 + 7 ∗ 80
⇒ 40 + 7
⇒ (47)10
Convert Octal to [hexadecimal]
19
(57)8 = (2𝐹)16
57 8 ⇒ 5 ∗ 81 + 7 ∗ 80
⇒ 40 + 7
⇒ (47)10
20
Conversion
(𝑛)16 → (𝑚)10
(𝑛)16 → (𝑚)2
(𝑛)16 → (𝑚)8
4
Convert hexadecimal to [decimal]
21
(2𝐹)16 = (47)10
2𝐹 16 ⇒ 2 ∗ 161 + 𝐹 ∗ 160
⇒ 32 + 15
⇒ (47)10
Convert hexadecimal to [decimal]
22
(2𝐹)16 = (57)8
2𝐹 16 ⇒ 2 ∗ 161 + 𝐹 ∗ 160
⇒ 32 + 15
⇒ (47)10
Convert hexadecimal to [binary]
23
(2𝐹)16 = (101111)2
2𝐹 16 ⇒ 2 ∗ 161 + 𝐹 ∗ 160
⇒ 32 + 15
⇒ (47)10
24
Exercise
(2𝐴𝐵)16 → (? )10
(528)10 → (? )8
(110001)2 → (? )10
(𝐴0)16 → (? )8
(621)8 → (? )16
(101)10 → (? )2
Question
.1
VHDL
‫ست؟‬‫چی‬
.2
‫عدد‬
12.31
‫ا‬‫ر‬
‫از‬
‫مت‬‫س‬‫سی‬
‫اعداد‬
Decimal
‫به‬
‫مت‬‫س‬‫سی‬
‫اعداد‬
Binary
‫بدیل‬‫ت‬
‫مناید‬
.
25

More Related Content

What's hot

Binary Mathematics Classwork and Hw
Binary Mathematics Classwork and HwBinary Mathematics Classwork and Hw
Binary Mathematics Classwork and Hw
Joji Thompson
 

What's hot (18)

Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Igraph
IgraphIgraph
Igraph
 
numbers system
numbers systemnumbers system
numbers system
 
Binary Mathematics Classwork and Hw
Binary Mathematics Classwork and HwBinary Mathematics Classwork and Hw
Binary Mathematics Classwork and Hw
 
Binary numbersystem
Binary numbersystemBinary numbersystem
Binary numbersystem
 
matlab example
matlab examplematlab example
matlab example
 
Wynberg girls high-louise keegan-maths-grade9-revision exercises
Wynberg girls high-louise keegan-maths-grade9-revision exercisesWynberg girls high-louise keegan-maths-grade9-revision exercises
Wynberg girls high-louise keegan-maths-grade9-revision exercises
 
Digital Logic & Design
Digital Logic & DesignDigital Logic & Design
Digital Logic & Design
 
Ch3
Ch3Ch3
Ch3
 
Top school in delhi ncr
Top school in delhi ncrTop school in delhi ncr
Top school in delhi ncr
 
Numbersystemcont
NumbersystemcontNumbersystemcont
Numbersystemcont
 
Miscellaneous examples of binary , quinary and octonary numbers (2)
Miscellaneous examples of binary , quinary and octonary numbers (2)Miscellaneous examples of binary , quinary and octonary numbers (2)
Miscellaneous examples of binary , quinary and octonary numbers (2)
 
Solution of matlab chapter 2
Solution of matlab chapter 2Solution of matlab chapter 2
Solution of matlab chapter 2
 
Mba admission in india
Mba admission in indiaMba admission in india
Mba admission in india
 
Vii ch 1 integers
Vii  ch 1 integersVii  ch 1 integers
Vii ch 1 integers
 
Box multiplication copy
Box multiplication   copyBox multiplication   copy
Box multiplication copy
 
Definite Integrals 8/ Integration by Parts
Definite Integrals 8/ Integration by PartsDefinite Integrals 8/ Integration by Parts
Definite Integrals 8/ Integration by Parts
 
Ncp computer appls num sys2 pramod
Ncp computer appls  num sys2 pramodNcp computer appls  num sys2 pramod
Ncp computer appls num sys2 pramod
 

Similar to Dld 2

Number system
Number systemNumber system
Number system
kashee99
 
Number system....
Number system....Number system....
Number system....
mshoaib15
 

Similar to Dld 2 (20)

Number system
Number systemNumber system
Number system
 
Number systems
Number systemsNumber systems
Number systems
 
Chapter two FHI.pptx
Chapter two FHI.pptxChapter two FHI.pptx
Chapter two FHI.pptx
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
2013 1
2013 1 2013 1
2013 1
 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
Numbering Systems
Numbering SystemsNumbering Systems
Numbering Systems
 
Chapter 1 digital design.pptx
Chapter 1 digital design.pptxChapter 1 digital design.pptx
Chapter 1 digital design.pptx
 
Video lectures
Video lecturesVideo lectures
Video lectures
 
Number system
Number system  Number system
Number system
 
Data representation
Data representationData representation
Data representation
 
Number_Systems (2).ppt
Number_Systems (2).pptNumber_Systems (2).ppt
Number_Systems (2).ppt
 
COmputer Number system.pptx
COmputer Number system.pptxCOmputer Number system.pptx
COmputer Number system.pptx
 
ADE UNIT-III (Digital Fundamentals).pptx
ADE UNIT-III (Digital Fundamentals).pptxADE UNIT-III (Digital Fundamentals).pptx
ADE UNIT-III (Digital Fundamentals).pptx
 
Number system....
Number system....Number system....
Number system....
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
Chapter 1
Chapter   1Chapter   1
Chapter 1
 

More from MirOmranudinAbhar (20)

Dld 3
Dld 3Dld 3
Dld 3
 
Dld 4
Dld 4Dld 4
Dld 4
 
Dld 1
Dld 1Dld 1
Dld 1
 
java-13
java-13java-13
java-13
 
java-12
java-12java-12
java-12
 
java-11
java-11java-11
java-11
 
java-10
java-10java-10
java-10
 
java-9
java-9java-9
java-9
 
java-8
java-8java-8
java-8
 
java-7
java-7java-7
java-7
 
java-6
java-6java-6
java-6
 
java-5
java-5java-5
java-5
 
java-4
java-4java-4
java-4
 
java-3
java-3java-3
java-3
 
java-2
java-2java-2
java-2
 
java-1
java-1java-1
java-1
 
Software-0
Software-0Software-0
Software-0
 
Net 1
Net 1Net 1
Net 1
 
Net 2
Net 2Net 2
Net 2
 
Net 3
Net 3Net 3
Net 3
 

Recently uploaded

CYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptx
Cherry
 
PODOCARPUS...........................pptx
PODOCARPUS...........................pptxPODOCARPUS...........................pptx
PODOCARPUS...........................pptx
Cherry
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
levieagacer
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
Scintica Instrumentation
 
COMPOSTING : types of compost, merits and demerits
COMPOSTING : types of compost, merits and demeritsCOMPOSTING : types of compost, merits and demerits
COMPOSTING : types of compost, merits and demerits
Cherry
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cherry
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
MohamedFarag457087
 

Recently uploaded (20)

CYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptx
 
Terpineol and it's characterization pptx
Terpineol and it's characterization pptxTerpineol and it's characterization pptx
Terpineol and it's characterization pptx
 
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICEPATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
PODOCARPUS...........................pptx
PODOCARPUS...........................pptxPODOCARPUS...........................pptx
PODOCARPUS...........................pptx
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
Site specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdfSite specific recombination and transposition.........pdf
Site specific recombination and transposition.........pdf
 
Efficient spin-up of Earth System Models usingsequence acceleration
Efficient spin-up of Earth System Models usingsequence accelerationEfficient spin-up of Earth System Models usingsequence acceleration
Efficient spin-up of Earth System Models usingsequence acceleration
 
Role of AI in seed science Predictive modelling and Beyond.pptx
Role of AI in seed science  Predictive modelling and  Beyond.pptxRole of AI in seed science  Predictive modelling and  Beyond.pptx
Role of AI in seed science Predictive modelling and Beyond.pptx
 
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsKanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Kanchipuram Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
 
COMPOSTING : types of compost, merits and demerits
COMPOSTING : types of compost, merits and demeritsCOMPOSTING : types of compost, merits and demerits
COMPOSTING : types of compost, merits and demerits
 
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptxClimate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
Climate Change Impacts on Terrestrial and Aquatic Ecosystems.pptx
 
Understanding Partial Differential Equations: Types and Solution Methods
Understanding Partial Differential Equations: Types and Solution MethodsUnderstanding Partial Differential Equations: Types and Solution Methods
Understanding Partial Differential Equations: Types and Solution Methods
 
Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical  aspectsDr. E. Muralinath_ Blood indices_clinical  aspects
Dr. E. Muralinath_ Blood indices_clinical aspects
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 

Dld 2