SlideShare a Scribd company logo
NUMBER SYSTEMS
TYPES OF NUMBER SYSTEM
LIST OF NUMBER
Type Base Numbers/Symbols
Decimal 10 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Binary 2 0, 1
Octal 8 0, 1, 2, 3, 4, 5, 6, 7
Hexadecimal 16 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
BINARY NUMBERS
 Used to represent the voltage levels of a digital circuit.
 Only two voltage levels present in a digital circuit, logic High and
logic Low.
 The high voltage is +5V and the low voltage is +0V.
 The binary numbers represent the logic low as a 0 and the logic high
as a 1.
DECIMAL  BINARY CONVERSION
 A decimal number can be converted to a binary number by
successively dividing the number by 2 as follows:
•Note that the first remainder becomes the most significant bit (MSB). The
last remainder becomes the least significant bit (LSB).
BINARY  DECIMAL CONVERSION
 A binary number is converted to a decimal number by summing
together the weights of various positions in the binary number which
contain a 1. For example, 10101112 = 8710.
DECIMAL  OCTAL CONVERSION
 A decimal number can be converted to an octal number by
successively dividing the number by 8 as follows:
266 ÷ 8 = 33 remainder 2 LSD (right-most digit)
33 ÷ 8 = 4 remainder 1
4 ÷ 8 = 0 remainder 4 MSB (left-most digit).
 Therefore 26610 = 4128
OCTAL  DECIMAL CONVERSION
 To convert an octal number to a decimal number, multiply each octal
value by the weight of the digit and sum the results. For example,
4128 = 26610.
OCTAL  BINARY REPRESENTATION
 Each octal digit can be represented by a 3-bit binary number as
shown below:
 Conversion from octal to binary is very straightforward. Each octal digit
is replaced by 3-bit binary number. For example, 4728 = 100 111 0102.
 A binary number is converted into an octal number by taking groups of
3 bits, starting from LSB, and replacing them with an octal digit. For
example, 11 010 1102 = 3268
.
OCTAL BINARY CONVERSION
HEXADECIMAL NUMBER
 The hexadecimal number uses base 16. It uses the digits 0 through
9 plus the letters A, B, C, D, E and F.
 The letter A stands for decimal 10, B for 11, C for 12, D for 13, E for
14 and F for 15.
HEXADECIMAL NUMBER
4.2 DECIMAL  HEXADECIMAL
CONVERSION
 A decimal number can be converted to hex number by successively
dividing the number by 16 as follows:
HEXADECIMAL  DECIMAL
CONVERSION
 To convert a hex number to a decimal number, multiply each hex
value by the weight of the digit and sum the results. For example,
1A716 = 42310.
HEXADECIMAL BINARY CONVERSI
 Each hex digit can be represented by a 4-bit binary number as
shown above. Conversion from hex to binary is very straightforward.
Each hex digit is replaced by 4-bit binary number.
 A binary number is converted into an octal number by taking groups
of 4 bits, starting from LSB, and replacing them with a hex digit. For
example, 110101102 = 3268
.
5.1 BINARY-CODED-DECIMAL
(BCD)
 The Binary-Coded-Decimal (BCD) code makes conversion much
easier. Each decimal digit, 0 through 9, is represented with a 4-Bit
BCD code as shown below. The BCD code 1010, 1011, 1100, 1101,
1110 and 1111 are not used.
5.2 DECIMAL  BCD
CONVERSION
 Conversion between BCD and decimal is accomplished by replacing
a 4-bit BCD for each decimal digit. For example, 87410 = 1000 0111
0100BCD.
 BCD is not another number system like binary, octal, decimal and
hexadecimal. It is in fact the decimal system with each digit encoded
in its binary equivalent. A BCD code is not the same as a straight
binary number. For example, the BCD code requires 12 bits, while
the straight binary number requires only 10 bits to represent 87310.
BASE CONVERSION FOR FLOATING POINTS WITH
THE REMAINDER METHOD
Decimal  Binary
Eg. Convert 23.37510 to base 2.
Technique:
1. Start by converting the integer portion:
FLOATING POINTS CONVERSION USING
REMAINDER METHOD
Decimal  Binary
2. Then, convert the fraction by multiply it with the based we want to convert:
IF ZERO, THEN STOP
BASE CONVERSION FOR FLOATING POINTS WITH
THE REMAINDER METHOD
Eg. 1010.012 = _________ 10
 Technique:
– Multiply each binary number by 2-n, where -n is the weight of the bit for fraction starting from
left to right. .
– Then, sum the results.
1010.012
= 1 x 23 + 0 x 22 + 1 x 21 + 0 x 20 . 0 x 2-1 + 1 x 2-2
= 10 + 0.25
= 10.25 10
Therefore, 1010.012 = 10.2510
Binary  Decimal
BASE CONVERSION FOR FLOATING POINTS WITH
THE REMAINDER METHOD
Octal – Decimal
Technique:
– Multiply each octal number by 8-n, where -n is the weight of the bit for fraction
starting from left to right. .
– Then, sum the results.
Eg. 46.38 = _________ 10
46.38 = 4 x 81 + 6 x 80 + 3 x 8-1
= 38 + 0.375
= 38.375 10
Therefore, 46.38 = 38.37510
BASE CONVERSION FOR FLOATING POINTS WITH
THE REMAINDER METHOD
Hexadecimal -
Decimal
Technique:
– Multiply each hexadecimal number by 16-n, where -n is the weight of the bit for
fraction starting from left to right.
– Then, sum the results.
Eg. A7.0F16 = _________ 10
A7.0F16 = 10 x 161 + 7 x 160 + 0 x 16-1 + 15 x 16-2
= 167 + 0.059
= 167.059 10
Therefore, A7.0F16 = 167.05910

More Related Content

What's hot

Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
VandanaPagar1
 
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
Number system
Sajib
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
Praveen M Jigajinni
 
Number system
Number systemNumber system
Number system
rameshthombre1
 
Counters
CountersCounters
Counters
Randaqra
 
Data Representation
Data RepresentationData Representation
Data RepresentationRick Jamil
 
Binary Arithmetic Presentation about Binary Numbers 2015
Binary Arithmetic Presentation about Binary Numbers 2015Binary Arithmetic Presentation about Binary Numbers 2015
Binary Arithmetic Presentation about Binary Numbers 2015
An Ariyan
 
Number System
Number SystemNumber System
Number System
Meenakshi Paul
 
Analysis sequences and bounded sequences
Analysis sequences and bounded sequencesAnalysis sequences and bounded sequences
Analysis sequences and bounded sequencesSANDEEP VISHANG DAGAR
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
Jayanshu Gundaniya
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
Janki Shah
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptx
AminaZahid16
 
11 octal number system
11   octal number system11   octal number system
11 octal number system
Lee Chadwick
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
Gaditek
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
missstevenson01
 
Encoder
EncoderEncoder
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
Paresh Parmar
 
Modified booth's algorithm Part 2
Modified booth's algorithm Part 2Modified booth's algorithm Part 2
Modified booth's algorithm Part 2
babuece
 

What's hot (20)

Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
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
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Number system
Number systemNumber system
Number system
 
Counters
CountersCounters
Counters
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Binary Arithmetic Presentation about Binary Numbers 2015
Binary Arithmetic Presentation about Binary Numbers 2015Binary Arithmetic Presentation about Binary Numbers 2015
Binary Arithmetic Presentation about Binary Numbers 2015
 
Number System
Number SystemNumber System
Number System
 
Analysis sequences and bounded sequences
Analysis sequences and bounded sequencesAnalysis sequences and bounded sequences
Analysis sequences and bounded sequences
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptx
 
11 octal number system
11   octal number system11   octal number system
11 octal number system
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Encoder
EncoderEncoder
Encoder
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Modified booth's algorithm Part 2
Modified booth's algorithm Part 2Modified booth's algorithm Part 2
Modified booth's algorithm Part 2
 
Floating Point Numbers
Floating Point NumbersFloating Point Numbers
Floating Point Numbers
 

Similar to Number system

Number system
Number systemNumber system
Number system
Darpan Chelani
 
Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]
Jumaed
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number system
AswiniT3
 
005618132.pdf
005618132.pdf005618132.pdf
005618132.pdf
BhagwansinghBairwa1
 
Lecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptxLecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptx
shwan it
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
Ammar_n
 
Introduction to number system
Introduction to number systemIntroduction to number system
Introduction to number system
AswiniT3
 
Number system
Number systemNumber system
Number system
Iqra Yasin
 
numbers_systems.ppt
numbers_systems.pptnumbers_systems.ppt
numbers_systems.ppt
sulekhasaxena2
 
numbers_systems.ppt
numbers_systems.pptnumbers_systems.ppt
numbers_systems.ppt
Suganthi Vasanth Raj
 
numbers_systems.ppt
numbers_systems.pptnumbers_systems.ppt
numbers_systems.ppt
IsfahanAhmed3
 
numbers_systems.pptx
numbers_systems.pptxnumbers_systems.pptx
numbers_systems.pptx
MohammedtajuddinTaju
 
numbers_systems (1).ppt
numbers_systems (1).pptnumbers_systems (1).ppt
numbers_systems (1).ppt
YashNaware2
 
Conversion between various numbers_systems
Conversion between various numbers_systemsConversion between various numbers_systems
Conversion between various numbers_systems
dradilkhan87
 
dtei-180910104911-converted.pptx
dtei-180910104911-converted.pptxdtei-180910104911-converted.pptx
dtei-180910104911-converted.pptx
deepaMS4
 
Data Representation
Data RepresentationData Representation
Data Representation
Education Front
 
Unit 1 data representation and computer arithmetic
Unit 1  data representation and computer arithmeticUnit 1  data representation and computer arithmetic
Unit 1 data representation and computer arithmetic
AmrutaMehata
 
1. Number System in Digital Electronics.pptx
1. Number System in Digital Electronics.pptx1. Number System in Digital Electronics.pptx
1. Number System in Digital Electronics.pptx
Nehachandran2
 
chapter2.pptx electrical engineering for student
chapter2.pptx electrical engineering for studentchapter2.pptx electrical engineering for student
chapter2.pptx electrical engineering for student
MidhaksaBelay
 
Number system
Number systemNumber system
Number system
Bikash Kumar
 

Similar to Number system (20)

Number system
Number systemNumber system
Number system
 
Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number system
 
005618132.pdf
005618132.pdf005618132.pdf
005618132.pdf
 
Lecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptxLecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptx
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 
Introduction to number system
Introduction to number systemIntroduction to number system
Introduction to number system
 
Number system
Number systemNumber system
Number system
 
numbers_systems.ppt
numbers_systems.pptnumbers_systems.ppt
numbers_systems.ppt
 
numbers_systems.ppt
numbers_systems.pptnumbers_systems.ppt
numbers_systems.ppt
 
numbers_systems.ppt
numbers_systems.pptnumbers_systems.ppt
numbers_systems.ppt
 
numbers_systems.pptx
numbers_systems.pptxnumbers_systems.pptx
numbers_systems.pptx
 
numbers_systems (1).ppt
numbers_systems (1).pptnumbers_systems (1).ppt
numbers_systems (1).ppt
 
Conversion between various numbers_systems
Conversion between various numbers_systemsConversion between various numbers_systems
Conversion between various numbers_systems
 
dtei-180910104911-converted.pptx
dtei-180910104911-converted.pptxdtei-180910104911-converted.pptx
dtei-180910104911-converted.pptx
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Unit 1 data representation and computer arithmetic
Unit 1  data representation and computer arithmeticUnit 1  data representation and computer arithmetic
Unit 1 data representation and computer arithmetic
 
1. Number System in Digital Electronics.pptx
1. Number System in Digital Electronics.pptx1. Number System in Digital Electronics.pptx
1. Number System in Digital Electronics.pptx
 
chapter2.pptx electrical engineering for student
chapter2.pptx electrical engineering for studentchapter2.pptx electrical engineering for student
chapter2.pptx electrical engineering for student
 
Number system
Number systemNumber system
Number system
 

More from kasthurimukila

Linked list and its operations - Traversal
Linked list and its operations - TraversalLinked list and its operations - Traversal
Linked list and its operations - Traversal
kasthurimukila
 
Input - Output Organization and I/O Interface
Input - Output Organization and I/O InterfaceInput - Output Organization and I/O Interface
Input - Output Organization and I/O Interface
kasthurimukila
 
Blockchain Technology ,Architecture and its Structure
Blockchain Technology ,Architecture and its StructureBlockchain Technology ,Architecture and its Structure
Blockchain Technology ,Architecture and its Structure
kasthurimukila
 
Circular Linked List.pptx
Circular Linked List.pptxCircular Linked List.pptx
Circular Linked List.pptx
kasthurimukila
 
Files_in_C.ppt
Files_in_C.pptFiles_in_C.ppt
Files_in_C.ppt
kasthurimukila
 
data analytics.pptx
data analytics.pptxdata analytics.pptx
data analytics.pptx
kasthurimukila
 
WML Script.pptx
WML Script.pptxWML Script.pptx
WML Script.pptx
kasthurimukila
 
Big Data.pptx
Big Data.pptxBig Data.pptx
Big Data.pptx
kasthurimukila
 
Scatter Plot.pptx
Scatter Plot.pptxScatter Plot.pptx
Scatter Plot.pptx
kasthurimukila
 
Introduction to Database, Purpose of Data, Data models, Components of Database
Introduction to Database, Purpose of Data, Data models, Components of DatabaseIntroduction to Database, Purpose of Data, Data models, Components of Database
Introduction to Database, Purpose of Data, Data models, Components of Database
kasthurimukila
 
Java
Java Java
Dbms
DbmsDbms

More from kasthurimukila (12)

Linked list and its operations - Traversal
Linked list and its operations - TraversalLinked list and its operations - Traversal
Linked list and its operations - Traversal
 
Input - Output Organization and I/O Interface
Input - Output Organization and I/O InterfaceInput - Output Organization and I/O Interface
Input - Output Organization and I/O Interface
 
Blockchain Technology ,Architecture and its Structure
Blockchain Technology ,Architecture and its StructureBlockchain Technology ,Architecture and its Structure
Blockchain Technology ,Architecture and its Structure
 
Circular Linked List.pptx
Circular Linked List.pptxCircular Linked List.pptx
Circular Linked List.pptx
 
Files_in_C.ppt
Files_in_C.pptFiles_in_C.ppt
Files_in_C.ppt
 
data analytics.pptx
data analytics.pptxdata analytics.pptx
data analytics.pptx
 
WML Script.pptx
WML Script.pptxWML Script.pptx
WML Script.pptx
 
Big Data.pptx
Big Data.pptxBig Data.pptx
Big Data.pptx
 
Scatter Plot.pptx
Scatter Plot.pptxScatter Plot.pptx
Scatter Plot.pptx
 
Introduction to Database, Purpose of Data, Data models, Components of Database
Introduction to Database, Purpose of Data, Data models, Components of DatabaseIntroduction to Database, Purpose of Data, Data models, Components of Database
Introduction to Database, Purpose of Data, Data models, Components of Database
 
Java
Java Java
Java
 
Dbms
DbmsDbms
Dbms
 

Recently uploaded

Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
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.
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
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
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 

Recently uploaded (20)

Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
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
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
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
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 

Number system

  • 3. LIST OF NUMBER Type Base Numbers/Symbols Decimal 10 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Binary 2 0, 1 Octal 8 0, 1, 2, 3, 4, 5, 6, 7 Hexadecimal 16 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
  • 4. BINARY NUMBERS  Used to represent the voltage levels of a digital circuit.  Only two voltage levels present in a digital circuit, logic High and logic Low.  The high voltage is +5V and the low voltage is +0V.  The binary numbers represent the logic low as a 0 and the logic high as a 1.
  • 5. DECIMAL  BINARY CONVERSION  A decimal number can be converted to a binary number by successively dividing the number by 2 as follows: •Note that the first remainder becomes the most significant bit (MSB). The last remainder becomes the least significant bit (LSB).
  • 6. BINARY  DECIMAL CONVERSION  A binary number is converted to a decimal number by summing together the weights of various positions in the binary number which contain a 1. For example, 10101112 = 8710.
  • 7. DECIMAL  OCTAL CONVERSION  A decimal number can be converted to an octal number by successively dividing the number by 8 as follows: 266 ÷ 8 = 33 remainder 2 LSD (right-most digit) 33 ÷ 8 = 4 remainder 1 4 ÷ 8 = 0 remainder 4 MSB (left-most digit).  Therefore 26610 = 4128
  • 8. OCTAL  DECIMAL CONVERSION  To convert an octal number to a decimal number, multiply each octal value by the weight of the digit and sum the results. For example, 4128 = 26610.
  • 9. OCTAL  BINARY REPRESENTATION  Each octal digit can be represented by a 3-bit binary number as shown below:
  • 10.  Conversion from octal to binary is very straightforward. Each octal digit is replaced by 3-bit binary number. For example, 4728 = 100 111 0102.  A binary number is converted into an octal number by taking groups of 3 bits, starting from LSB, and replacing them with an octal digit. For example, 11 010 1102 = 3268 . OCTAL BINARY CONVERSION
  • 11. HEXADECIMAL NUMBER  The hexadecimal number uses base 16. It uses the digits 0 through 9 plus the letters A, B, C, D, E and F.  The letter A stands for decimal 10, B for 11, C for 12, D for 13, E for 14 and F for 15.
  • 13. 4.2 DECIMAL  HEXADECIMAL CONVERSION  A decimal number can be converted to hex number by successively dividing the number by 16 as follows:
  • 14. HEXADECIMAL  DECIMAL CONVERSION  To convert a hex number to a decimal number, multiply each hex value by the weight of the digit and sum the results. For example, 1A716 = 42310.
  • 15. HEXADECIMAL BINARY CONVERSI  Each hex digit can be represented by a 4-bit binary number as shown above. Conversion from hex to binary is very straightforward. Each hex digit is replaced by 4-bit binary number.  A binary number is converted into an octal number by taking groups of 4 bits, starting from LSB, and replacing them with a hex digit. For example, 110101102 = 3268 .
  • 16. 5.1 BINARY-CODED-DECIMAL (BCD)  The Binary-Coded-Decimal (BCD) code makes conversion much easier. Each decimal digit, 0 through 9, is represented with a 4-Bit BCD code as shown below. The BCD code 1010, 1011, 1100, 1101, 1110 and 1111 are not used.
  • 17. 5.2 DECIMAL  BCD CONVERSION  Conversion between BCD and decimal is accomplished by replacing a 4-bit BCD for each decimal digit. For example, 87410 = 1000 0111 0100BCD.  BCD is not another number system like binary, octal, decimal and hexadecimal. It is in fact the decimal system with each digit encoded in its binary equivalent. A BCD code is not the same as a straight binary number. For example, the BCD code requires 12 bits, while the straight binary number requires only 10 bits to represent 87310.
  • 18. BASE CONVERSION FOR FLOATING POINTS WITH THE REMAINDER METHOD Decimal  Binary Eg. Convert 23.37510 to base 2. Technique: 1. Start by converting the integer portion:
  • 19. FLOATING POINTS CONVERSION USING REMAINDER METHOD Decimal  Binary 2. Then, convert the fraction by multiply it with the based we want to convert: IF ZERO, THEN STOP
  • 20. BASE CONVERSION FOR FLOATING POINTS WITH THE REMAINDER METHOD Eg. 1010.012 = _________ 10  Technique: – Multiply each binary number by 2-n, where -n is the weight of the bit for fraction starting from left to right. . – Then, sum the results. 1010.012 = 1 x 23 + 0 x 22 + 1 x 21 + 0 x 20 . 0 x 2-1 + 1 x 2-2 = 10 + 0.25 = 10.25 10 Therefore, 1010.012 = 10.2510 Binary  Decimal
  • 21. BASE CONVERSION FOR FLOATING POINTS WITH THE REMAINDER METHOD Octal – Decimal Technique: – Multiply each octal number by 8-n, where -n is the weight of the bit for fraction starting from left to right. . – Then, sum the results. Eg. 46.38 = _________ 10 46.38 = 4 x 81 + 6 x 80 + 3 x 8-1 = 38 + 0.375 = 38.375 10 Therefore, 46.38 = 38.37510
  • 22. BASE CONVERSION FOR FLOATING POINTS WITH THE REMAINDER METHOD Hexadecimal - Decimal Technique: – Multiply each hexadecimal number by 16-n, where -n is the weight of the bit for fraction starting from left to right. – Then, sum the results. Eg. A7.0F16 = _________ 10 A7.0F16 = 10 x 161 + 7 x 160 + 0 x 16-1 + 15 x 16-2 = 167 + 0.059 = 167.059 10 Therefore, A7.0F16 = 167.05910