SlideShare a Scribd company logo
NUMBER SYSTEM
- Asst. Prof. Meenakshi Paul
G. N. Khalsa College
OUTLINE
 1.1 Numbering system
 Binary number system
 Octal number system
 Decimal number system
 Hexadecimal number system
 1.2 Conversion from one number system to another
 1.3 Floating point numbers,
1.1 NUMBERING SYSTEM
 A mathematical notation for representing numbers is
known as number system.
 A number system is a system for expressing numbers .
 The number system is used for representing the
information.
 The number system has different bases and the most
common of them are the decimal, binary, octal, and
hexadecimal.
 The base or radix of the number system is the
total number of the digit used in the number system.
1.1 NUMBERING SYSTEM
CONTD…
 Collection of digits forms a number, which can be divided in two parts :
Integer and fractional part that set apart by a radix point , shown below
1.1 NUMBERING SYSTEM
CONTD…
STORAGE (MEMORY) SIZE UNIT TABLE
TYPES OF NUMBER SYSTEMS
 Some of the important types of number system
are:
 Decimal Number System
 Binary Number System
 Octal Number System
 Hexadecimal N.S.
8
BASE-N NUMBER SYSTEM
 Base N
 N Digits: 0, 1, 2, 3, 4, 5, …, N-1
 Example: 1045N
 Positional Number System
• Digit do is the least significant digit (LSD).
• Digit dn-1 is the most significant digit (MSD).
1 4 3 2 1 0
1 4 3 2 1 0
n
n
N N N N N N
d d d d d d


L
L
9
DECIMAL NUMBER SYSTEM
 Base/Radix 10
 Ten Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
 Example: 104510
 Positional Number System
 Digit d0 is the least significant digit (LSD).
 Digit dn-1 is the most significant digit (MSD).
1 4 3 2 1 0
1 4 3 2 1 0
10 10 10 10 10 10n
nd d d d d d


L
L
10
BINARY NUMBER SYSTEM
 Base 2
 Two Digits: 0, 1
 Example: 10101102
 Positional Number System
 Binary Digits are called Bits
 Bit bo is the least significant bit (LSB).
 Bit bn-1 is the most significant bit (MSB).
1 4 3 2 1 0
1 4 3 2 1 0
2 2 2 2 2 2n
nb b b b b b


L
L
OCTAL NUMBER SYSTEM
 Base 8
 Two Digits: 0, 1,2,3,4,5,6,7,
 Example: 01458
 Positional Number System
8n-1 …. 83 82 81 80
000 0
001 1
010 2
011 3
100 4
101 5
110 6
111 7
12
HEXADECIMAL NUMBER SYSTEM
 Base 16
 Sixteen Digits: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
 Example: EF5616
 Positional Number System
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
1 4 3 2 1 0
16 16 16 16 1616n
L
CONVERSION TABLE BINARY, OCTAL, DECIMAL
AND HEXADECIMAL
CONVERSION OF BASE
1.2 CONVERSION OF BASE
1.2.1 Decimal to Binary, Octal and Hexadecimal
1.2.2 Binary to Decimal, Octal and Hexadecimal
1.2.3 Octal to Binary, Decimal and Hexadecimal
1.2.4 Hexadecimal to Binary, Octal and Decimal
1.2.1 DECIMAL TO BINARY CONVERSION
 Step 1: Divide the decimal
number by 2, get the integer
quotient and the remainder.
 Step 2: Convert the remainder to
the binary digit in that position.
 Step 3: Using the integer
quotient to repeat the steps until
the integer quotient equals to 0.
DECIMAL TO BINARY CONVERSION
 (62)10=?  (43)10=?
EXAMPLES
1. (78)10=? 2. (156)10=? 3.(266)10= ?
DECIMAL TO FRACTION BINARY CONVERSION
DECIMAL FRACTION TO BINARY CONVERSION
 (0.692)10=?  (0.188)10=?
DECIMAL TO OCTAL
 Step 1: Divide the decimal number
by 8, get the integer quotient and
the remainder.
 Step 2: Convert the remainder to
the octal digit in that position.
 Step 3: Using the integer quotient
to repeat the steps until the integer
quotient equals to 0.
DECIMAL TO OCTAL
 (100)10=?  (473)10=?
DECIMAL FRACTION TO OCTAL CONVERSION
DECIMAL TO HEXADECIMAL
DECIMAL TO HEXADECIMAL
 Step 1: Divide the decimal number
by 16, get the integer quotient and
the remainder.
 Step 2: Convert the remainder to
the hex digit in that position.
 Step 3: Using the integer quotient
to repeat the steps until the integer
quotient equals to 0.
DECIMAL FRACTION TO HEXADECIMAL
1.2.2 BINARY TO DECIMAL
EXAMPLES
BINARY FRACTION TO DECIMAL
BINARY TO OCTAL
 For binary representation of octal
number, each octal number is
represented by 3 binary bits.
 For example, the octal number 5 is
represented by 101 while the octal
45 by 100101.
BINARY TO OCTAL
BINARY FRACTION TO OCTAL
BINARY TO HEXADECIMAL
 Start from the right-hand side by
dividing the given binary digits into
groups of four.
 Convert each group into the
hexadecimal number by applying
binary to decimal conversion
methods and then represent
decimal value to their
corresponding hexadecimal value.
BINARY TO HEXADECIMAL
1.2.3. OCTAL TO DECIMAL
1.2.3 OCTAL TO BINARY
OCTAL TO HEXADECIMAL
1.2.4 HEXADECIMAL TO OCTAL
1.2.4 HEXADECIMAL TO OCTAL
1.2.4 HEXADECIMAL TO DECIMAL
1.2.4 HEXADECIMAL TO BINARY
FLOATING POINT NUMBER
1.3 FLOATING POINT NUMBER
 very large integer number, storage problem
 Fixed point number means the fractional point(decimal point)
 Floating point numbers are also called as the real numbers.
 So representation of such number in floating form which have both integer and
fraction parts. It uses power 10.
 Parts of floating point number: 1. Mantissa II. Exponent
 Mantissa: It holds the main digits of floating point
 Exponent: It defines where the decimal point should be placed
 Example
 Only the mantissa and the exponent are stored. The base is implied (known already)
As it is not stored this will save memory capacity
A 32 BIT FLOATING POINTNUMBER
Sign Exponent Mantissa
1bit 8 bits 23 bits

More Related Content

What's hot

Binary number ppt
Binary number pptBinary number ppt
Binary number ppt
Ankit Gupta
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
Zaheer Abbasi
 
binary number system
 binary number system binary number system
binary number system
vishal gupta
 
Number system
Number systemNumber system
Number system
ankush9927
 
Number System
Number SystemNumber System
Number Systemitutor
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
Janki Shah
 
Number system
Number systemNumber system
Number system
Palash Sachan
 
Signed Binary Numbers
Signed Binary NumbersSigned Binary Numbers
Signed Binary Numbers
pyingkodi maran
 
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
 
1s and 2s complement
1s and 2s complement1s and 2s complement
1s and 2s complement
Then Murugeshwari
 
Binary computing
Binary computingBinary computing
Binary computing
samina khan
 
Floating point presentation
Floating point presentationFloating point presentation
Floating point presentation
SnehalataAgasti
 
What is bcd number system
What is bcd number systemWhat is bcd number system
What is bcd number system
Muhammad Shahid
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
Laguna State Polytechnic University
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmeticgavhays
 
Number system....
Number system....Number system....
Number system....mshoaib15
 
Hexadecimal numbers
Hexadecimal  numbersHexadecimal  numbers
Hexadecimal numbersatcnerd
 

What's hot (20)

Binary number ppt
Binary number pptBinary number ppt
Binary number ppt
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
 
binary number system
 binary number system binary number system
binary number system
 
Number system
Number systemNumber system
Number system
 
Number System
Number SystemNumber System
Number System
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
Number system
Number systemNumber system
Number system
 
Number System
Number SystemNumber System
Number System
 
Signed Binary Numbers
Signed Binary NumbersSigned Binary Numbers
Signed Binary Numbers
 
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
 
1s and 2s complement
1s and 2s complement1s and 2s complement
1s and 2s complement
 
Binary computing
Binary computingBinary computing
Binary computing
 
Floating point presentation
Floating point presentationFloating point presentation
Floating point presentation
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
 
What is bcd number system
What is bcd number systemWhat is bcd number system
What is bcd number system
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Number system....
Number system....Number system....
Number system....
 
Hexadecimal numbers
Hexadecimal  numbersHexadecimal  numbers
Hexadecimal numbers
 

Similar to Number System

ch-01numbersystems computer fundamentals
ch-01numbersystems computer fundamentalsch-01numbersystems computer fundamentals
ch-01numbersystems computer fundamentals
dbmscse61
 
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
Arti Parab Academics
 
dtei-180910104911-converted.pptx
dtei-180910104911-converted.pptxdtei-180910104911-converted.pptx
dtei-180910104911-converted.pptx
deepaMS4
 
Number system
Number systemNumber system
Number system
Iqra Yasin
 
Data representation
Data representationData representation
Data representation
Manish Kumar
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
Wollo UNiversity
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
AnaMarieFrane
 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
Aman anand kumar
 
1. Digital Electronics - Number System PART 1.pptx
1. Digital Electronics - Number System PART 1.pptx1. Digital Electronics - Number System PART 1.pptx
1. Digital Electronics - Number System PART 1.pptx
vsigncontents
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
Lovely Professional University
 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptx
MamataAnilgod
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
Ammar_n
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
Prof. Dr. K. Adisesha
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
Susantha Herath
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
NathanielRapanut2
 
5a data representation
5a   data representation5a   data representation
5a data representation
arslanzafar13162
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
4NM21IS132SAISHARATH
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16
John Todora
 
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
 

Similar to Number System (20)

ch-01numbersystems computer fundamentals
ch-01numbersystems computer fundamentalsch-01numbersystems computer fundamentals
ch-01numbersystems computer fundamentals
 
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
 
dtei-180910104911-converted.pptx
dtei-180910104911-converted.pptxdtei-180910104911-converted.pptx
dtei-180910104911-converted.pptx
 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
 
Number system
Number systemNumber system
Number system
 
Data representation
Data representationData representation
Data representation
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
 
1. Digital Electronics - Number System PART 1.pptx
1. Digital Electronics - Number System PART 1.pptx1. Digital Electronics - Number System PART 1.pptx
1. Digital Electronics - Number System PART 1.pptx
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptx
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
5a data representation
5a   data representation5a   data representation
5a data representation
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16
 
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
 

More from Meenakshi Paul

Introduction to Artificial Intelligences
Introduction to Artificial IntelligencesIntroduction to Artificial Intelligences
Introduction to Artificial Intelligences
Meenakshi Paul
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
Meenakshi Paul
 
19 Network Layer Protocols
19 Network Layer Protocols19 Network Layer Protocols
19 Network Layer Protocols
Meenakshi Paul
 
Other Wireless Networks
Other Wireless NetworksOther Wireless Networks
Other Wireless Networks
Meenakshi Paul
 
Wireless LANs
Wireless LANsWireless LANs
Wireless LANs
Meenakshi Paul
 
Wired LANs
Wired LANsWired LANs
Wired LANs
Meenakshi Paul
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
Meenakshi Paul
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
Meenakshi Paul
 
Introduction to the Data Link Layer
Introduction to the Data Link LayerIntroduction to the Data Link Layer
Introduction to the Data Link Layer
Meenakshi Paul
 
Switching
SwitchingSwitching
Switching
Meenakshi Paul
 
Transmission Media
Transmission MediaTransmission Media
Transmission Media
Meenakshi Paul
 
Bandwidth Utilization Multiplexing and Spectrum Spreading
Bandwidth Utilization Multiplexing and Spectrum SpreadingBandwidth Utilization Multiplexing and Spectrum Spreading
Bandwidth Utilization Multiplexing and Spectrum Spreading
Meenakshi Paul
 
IP classes
IP classesIP classes
IP classes
Meenakshi Paul
 
Theory building
Theory buildingTheory building
Theory building
Meenakshi Paul
 
Information Systems and Knowledge Management
 Information Systems and Knowledge Management Information Systems and Knowledge Management
Information Systems and Knowledge Management
Meenakshi Paul
 
Ch01 The Role of Business Research
Ch01 The Role of Business ResearchCh01 The Role of Business Research
Ch01 The Role of Business Research
Meenakshi Paul
 
05 analog transmission
05 analog transmission05 analog transmission
05 analog transmission
Meenakshi Paul
 
04 digital transmission
04 digital transmission04 digital transmission
04 digital transmission
Meenakshi Paul
 
03 Introduction to Physical layer
03  Introduction to Physical layer03  Introduction to Physical layer
03 Introduction to Physical layer
Meenakshi Paul
 
02 network models
02  network models02  network models
02 network models
Meenakshi Paul
 

More from Meenakshi Paul (20)

Introduction to Artificial Intelligences
Introduction to Artificial IntelligencesIntroduction to Artificial Intelligences
Introduction to Artificial Intelligences
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
19 Network Layer Protocols
19 Network Layer Protocols19 Network Layer Protocols
19 Network Layer Protocols
 
Other Wireless Networks
Other Wireless NetworksOther Wireless Networks
Other Wireless Networks
 
Wireless LANs
Wireless LANsWireless LANs
Wireless LANs
 
Wired LANs
Wired LANsWired LANs
Wired LANs
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
 
Introduction to the Data Link Layer
Introduction to the Data Link LayerIntroduction to the Data Link Layer
Introduction to the Data Link Layer
 
Switching
SwitchingSwitching
Switching
 
Transmission Media
Transmission MediaTransmission Media
Transmission Media
 
Bandwidth Utilization Multiplexing and Spectrum Spreading
Bandwidth Utilization Multiplexing and Spectrum SpreadingBandwidth Utilization Multiplexing and Spectrum Spreading
Bandwidth Utilization Multiplexing and Spectrum Spreading
 
IP classes
IP classesIP classes
IP classes
 
Theory building
Theory buildingTheory building
Theory building
 
Information Systems and Knowledge Management
 Information Systems and Knowledge Management Information Systems and Knowledge Management
Information Systems and Knowledge Management
 
Ch01 The Role of Business Research
Ch01 The Role of Business ResearchCh01 The Role of Business Research
Ch01 The Role of Business Research
 
05 analog transmission
05 analog transmission05 analog transmission
05 analog transmission
 
04 digital transmission
04 digital transmission04 digital transmission
04 digital transmission
 
03 Introduction to Physical layer
03  Introduction to Physical layer03  Introduction to Physical layer
03 Introduction to Physical layer
 
02 network models
02  network models02  network models
02 network models
 

Recently uploaded

road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 

Recently uploaded (20)

road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 

Number System

  • 1. NUMBER SYSTEM - Asst. Prof. Meenakshi Paul G. N. Khalsa College
  • 2. OUTLINE  1.1 Numbering system  Binary number system  Octal number system  Decimal number system  Hexadecimal number system  1.2 Conversion from one number system to another  1.3 Floating point numbers,
  • 3. 1.1 NUMBERING SYSTEM  A mathematical notation for representing numbers is known as number system.  A number system is a system for expressing numbers .  The number system is used for representing the information.  The number system has different bases and the most common of them are the decimal, binary, octal, and hexadecimal.  The base or radix of the number system is the total number of the digit used in the number system.
  • 4. 1.1 NUMBERING SYSTEM CONTD…  Collection of digits forms a number, which can be divided in two parts : Integer and fractional part that set apart by a radix point , shown below
  • 7. TYPES OF NUMBER SYSTEMS  Some of the important types of number system are:  Decimal Number System  Binary Number System  Octal Number System  Hexadecimal N.S.
  • 8. 8 BASE-N NUMBER SYSTEM  Base N  N Digits: 0, 1, 2, 3, 4, 5, …, N-1  Example: 1045N  Positional Number System • Digit do is the least significant digit (LSD). • Digit dn-1 is the most significant digit (MSD). 1 4 3 2 1 0 1 4 3 2 1 0 n n N N N N N N d d d d d d   L L
  • 9. 9 DECIMAL NUMBER SYSTEM  Base/Radix 10  Ten Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9  Example: 104510  Positional Number System  Digit d0 is the least significant digit (LSD).  Digit dn-1 is the most significant digit (MSD). 1 4 3 2 1 0 1 4 3 2 1 0 10 10 10 10 10 10n nd d d d d d   L L
  • 10. 10 BINARY NUMBER SYSTEM  Base 2  Two Digits: 0, 1  Example: 10101102  Positional Number System  Binary Digits are called Bits  Bit bo is the least significant bit (LSB).  Bit bn-1 is the most significant bit (MSB). 1 4 3 2 1 0 1 4 3 2 1 0 2 2 2 2 2 2n nb b b b b b   L L
  • 11. OCTAL NUMBER SYSTEM  Base 8  Two Digits: 0, 1,2,3,4,5,6,7,  Example: 01458  Positional Number System 8n-1 …. 83 82 81 80 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7
  • 12. 12 HEXADECIMAL NUMBER SYSTEM  Base 16  Sixteen Digits: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F  Example: EF5616  Positional Number System 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 1 4 3 2 1 0 16 16 16 16 1616n L
  • 13. CONVERSION TABLE BINARY, OCTAL, DECIMAL AND HEXADECIMAL
  • 15. 1.2 CONVERSION OF BASE 1.2.1 Decimal to Binary, Octal and Hexadecimal 1.2.2 Binary to Decimal, Octal and Hexadecimal 1.2.3 Octal to Binary, Decimal and Hexadecimal 1.2.4 Hexadecimal to Binary, Octal and Decimal
  • 16.
  • 17. 1.2.1 DECIMAL TO BINARY CONVERSION  Step 1: Divide the decimal number by 2, get the integer quotient and the remainder.  Step 2: Convert the remainder to the binary digit in that position.  Step 3: Using the integer quotient to repeat the steps until the integer quotient equals to 0.
  • 18. DECIMAL TO BINARY CONVERSION  (62)10=?  (43)10=?
  • 19. EXAMPLES 1. (78)10=? 2. (156)10=? 3.(266)10= ?
  • 20. DECIMAL TO FRACTION BINARY CONVERSION
  • 21. DECIMAL FRACTION TO BINARY CONVERSION  (0.692)10=?  (0.188)10=?
  • 22.
  • 23. DECIMAL TO OCTAL  Step 1: Divide the decimal number by 8, get the integer quotient and the remainder.  Step 2: Convert the remainder to the octal digit in that position.  Step 3: Using the integer quotient to repeat the steps until the integer quotient equals to 0.
  • 24. DECIMAL TO OCTAL  (100)10=?  (473)10=?
  • 25. DECIMAL FRACTION TO OCTAL CONVERSION
  • 27. DECIMAL TO HEXADECIMAL  Step 1: Divide the decimal number by 16, get the integer quotient and the remainder.  Step 2: Convert the remainder to the hex digit in that position.  Step 3: Using the integer quotient to repeat the steps until the integer quotient equals to 0.
  • 28. DECIMAL FRACTION TO HEXADECIMAL
  • 29.
  • 30. 1.2.2 BINARY TO DECIMAL
  • 33. BINARY TO OCTAL  For binary representation of octal number, each octal number is represented by 3 binary bits.  For example, the octal number 5 is represented by 101 while the octal 45 by 100101.
  • 36. BINARY TO HEXADECIMAL  Start from the right-hand side by dividing the given binary digits into groups of four.  Convert each group into the hexadecimal number by applying binary to decimal conversion methods and then represent decimal value to their corresponding hexadecimal value.
  • 38.
  • 39. 1.2.3. OCTAL TO DECIMAL
  • 40. 1.2.3 OCTAL TO BINARY
  • 44.
  • 46.
  • 49.
  • 50. 1.3 FLOATING POINT NUMBER  very large integer number, storage problem  Fixed point number means the fractional point(decimal point)  Floating point numbers are also called as the real numbers.  So representation of such number in floating form which have both integer and fraction parts. It uses power 10.  Parts of floating point number: 1. Mantissa II. Exponent  Mantissa: It holds the main digits of floating point  Exponent: It defines where the decimal point should be placed  Example  Only the mantissa and the exponent are stored. The base is implied (known already) As it is not stored this will save memory capacity
  • 51. A 32 BIT FLOATING POINTNUMBER Sign Exponent Mantissa 1bit 8 bits 23 bits