SlideShare a Scribd company logo
Number System 
Set of rules and symbols to represent 
numbers 
Classified into weighted or positional and non-weighted 
or non-positional systems 
Types:- 
Types of number system Base 
Binary 2 
Octal 8 
Decimal 10 
Hexadecimal 16
Common Number Systems 
System Base Symbols 
Used by 
humans? 
Used in 
computers? 
Decimal 10 0, 1, … 9 Yes No 
Binary 2 0, 1 No Yes 
Octal 8 0, 1, … 7 No No 
Hexa-decimal 
16 0, 1, … 9, 
A, B, … F 
No No
Quantities/Counting (1 of 3) 
Decimal Binary Octal 
Hexa-decimal 
0 0 0 0 
1 1 1 1 
2 10 2 2 
3 11 3 3 
4 100 4 4 
5 101 5 5 
6 110 6 6 
7 111 7 7 
p. 33
Quantities/Counting (2 of 3) 
Decimal Binary Octal 
Hexa-decimal 
8 1000 10 8 
9 1001 11 9 
10 1010 12 A 
11 1011 13 B 
12 1100 14 C 
13 1101 15 D 
14 1110 16 E 
15 1111 17 F
Quantities/Counting (3 of 3) 
Decimal Binary Octal 
Hexa-decimal 
16 10000 20 10 
17 10001 21 11 
18 10010 22 12 
19 10011 23 13 
20 10100 24 14 
21 10101 25 15 
22 10110 26 16 
23 10111 27 17 Etc.
Conversion Among Bases 
• The possibilities: 
Decimal Octal 
Hexadecimal 
Binary
Quick Example 
2510 = 110012 = 318 = 
1916 
Base
Decimal to Decimal (just for fun) 
Decimal Octal 
Hexadecimal 
Binary
12510 => 5 x 100= 5 
2 x 101= 20 
1 x 102= 100 
125 
Base 
Weight
Fractions 
• Decimal to decimal (just for fun) 
3.14 => 4 x 10-2 = 0.04 
1 x 10-1 = 0.1 
3 x 100 = 3 
3.14
Decimal to Binary 
Decimal Octal 
Hexadecimal 
Binary
Decimal to Binary 
• Technique 
– Divide by two, keep track of the remainder 
– First remainder is bit 0 (LSB, least-significant bit) 
– Second remainder is bit 1 
– Etc.
Example 
12510 = ?2 
2 125 
2 6 2 1 
2 3 1 0 
2 1 5 1 
2 7 1 
2 3 1 
2 1 1 
0 1 
12510 = 11111012
Fractions 
• Decimal to binary 
3.14579 
.14579 
x 2 
0.29158 
x 2 
0.58316 
x 2 
1.16632 
x 2 
0.33264 
x 2 
0.66528 
x 2 
1.33056 
11.001001... etc.
Decimal to Octal 
Decimal Octal 
Hexadecimal 
Binary
Decimal to Octal 
• Technique 
– Divide by 8 
– Keep track of the remainder
Example 
123410 = ?8 
8 1234 
8 154 2 
8 19 2 
8 2 3 
0 2 
123410 = 23228
Decimal to Hexadecimal 
Decimal Octal 
Hexadecimal 
Binary
Decimal to Hexadecimal 
• Technique 
– Divide by 16 
– Keep track of the remainder
Example 
123410 = ?16 
123410 = 4D216 
16 1234 
1 6 77 2 
1 6 4 13 = D 
0 4
Binary to Decimal 
Decimal Octal 
Hexadecimal 
Binary
Binary to Decimal 
• Technique 
– Multiply each bit by 2n, where n is the “weight” of 
the bit 
– The weight is the position of the bit, starting from 
0 on the right 
– Add the results
Example 
1010112 => 1 x 20 = 1 
1 x 21 = 2 
0 x 22 = 0 
1 x 23 = 8 
0 x 24 = 0 
1 x 25 = 32 
4310 
Bit “0”
Fractions 
• Binary to decimal 
10.1011 => 1 x 2-4 = 0.0625 
1 x 2-3 = 0.125 
0 x 2-2 = 0.0 
1 x 2-1 = 0.5 
0 x 20 = 0.0 
1 x 21 = 2.0 
2.6875
Octal to Decimal 
Decimal Octal 
Hexadecimal 
Binary
Octal to Decimal 
• Technique 
– Multiply each bit by 8n, where n is the “weight” of 
the bit 
– The weight is the position of the bit, starting from 
0 on the right 
– Add the results
Example 
7248 => 4 x 80 = 4 
2 x 81 = 16 
7 x 82 = 448 
46810
Hexadecimal to Decimal 
Decimal Octal 
Hexadecimal 
Binary
Hexadecimal to Decimal 
• Technique 
– Multiply each bit by 16n, where n is the “weight” 
of the bit 
– The weight is the position of the bit, starting from 
0 on the right 
– Add the results
Example 
ABC16 => C x 160 = 12 x 1 = 12 
B x 161 = 11 x 16 = 176 
A x 162 = 10 x 256 = 2560 
274810
Binary to Octal 
Decimal Octal 
Hexadecimal 
Binary
Binary to Octal 
• Technique 
– Group bits in threes, starting on right 
– Convert to octal digits
Example 
10110101112 = ?8 
1 011 010 111 
1 3 2 7 
10110101112 = 13278
Octal to Binary 
Decimal Octal 
Hexadecimal 
Binary
Octal to Binary 
• Technique 
– Convert each octal digit to a 3-bit equivalent 
binary representation
Example 
7058 = ?2 
7 0 5 
111 000 101 
7058 = 1110001012
Binary to Hexadecimal 
Decimal Octal 
Hexadecimal 
Binary
Binary to Hexadecimal 
• Technique 
– Group bits in fours, starting on right 
– Convert to hexadecimal digits
Example 
10101110112 = ?16 
10 1011 1011 
2 B B 
10101110112 = 2BB16
Hexadecimal to Binary 
Decimal Octal 
Hexadecimal 
Binary
Hexadecimal to Binary 
• Technique 
– Convert each hexadecimal digit to a 4-bit 
equivalent binary representation
Example 
10AF16 = ?2 
1 0 A F 
0001 0000 1010 1111 
10AF16 = 00010000101011112
Octal to Hexadecimal 
Decimal Octal 
Hexadecimal 
Binary
Octal to Hexadecimal 
• Technique 
– Use binary as an intermediary
Example 
10768 = ?16 
1 0 7 6 
001 000 111 110 
2 3 E 
10768 = 23E16
Hexadecimal to Octal 
Decimal Octal 
Hexadecimal 
Binary
Hexadecimal to Octal 
• Technique 
– Use binary as an intermediary
Example 
1F0C16 = ?8 
1 F 0 C 
0001 1111 0000 1100 
1 7 4 1 4 
1F0C16 = 174148
Exercise – Convert ... 
Decimal Binary Octal 
Don’t use a calculator! 
Hexa-decimal 
33 
1110101 
703 
1AF 
Skip answer Answer
Exercise – Convert … 
Answer 
Decimal Binary Octal 
Hexa-decimal 
33 100001 41 21 
117 1110101 165 75 
451 111000011 703 1C3 
431 110101111 657 1AF
Exercise – Convert ... 
Decimal Binary Octal 
Don’t use a calculator! 
Hexa-decimal 
29.8 
101.1101 
3.07 
C.82 
Skip answer Answer
Exercise – Convert … 
Answer 
Decimal Binary Octal 
Hexa-decimal 
29.8 11101.110011… 35.63… 1D.CC… 
5.8125 101.1101 5.64 5.D 
3.109375 11.000111 3.07 3.1C 
12.5078125 1100.10000010 14.404 C.82

More Related Content

What's hot

Number system utm notes
Number system utm notesNumber system utm notes
Number system utm notes
Kurenai Ryu
 
Number systems
Number systemsNumber systems
Number system
Number systemNumber system
Number system
Suraj Bora
 
11 octal number system
11   octal number system11   octal number system
11 octal number system
Lee Chadwick
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
Mubashir Ali
 
Codes
CodesCodes
Number System
Number SystemNumber System
Number System
Meenakshi Paul
 
binary number system
 binary number system binary number system
binary number system
vishal gupta
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
Rishabh Kanth
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversion
Mukesh Tekwani
 
Number System
Number SystemNumber System
Number Systemitutor
 
Conversion of number system with base concept
Conversion of number system with base conceptConversion of number system with base concept
Conversion of number system with base concept
University of Potsdam
 
Number Systems
Number SystemsNumber Systems
Number Systems
Jubayer Alam Shoikat
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
Zaheer Abbasi
 
Computer number systems
Computer number systemsComputer number systems
Computer number systemsRevi Shahini
 
Number System
Number SystemNumber System
Number System
Ramesh Ragala
 
Binary codes
Binary codesBinary codes
Binary codes
Revathi Subramaniam
 
Number system
Number systemNumber system
Number system
Palash Sachan
 
Binary Arithmetic Operations
Binary Arithmetic OperationsBinary Arithmetic Operations
Binary Arithmetic Operations
Digital System Design
 

What's hot (20)

Number system utm notes
Number system utm notesNumber system utm notes
Number system utm notes
 
Number System
Number SystemNumber System
Number System
 
Number systems
Number systemsNumber systems
Number systems
 
Number system
Number systemNumber system
Number system
 
11 octal number system
11   octal number system11   octal number system
11 octal number system
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Codes
CodesCodes
Codes
 
Number System
Number SystemNumber System
Number System
 
binary number system
 binary number system binary number system
binary number system
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversion
 
Number System
Number SystemNumber System
Number System
 
Conversion of number system with base concept
Conversion of number system with base conceptConversion of number system with base concept
Conversion of number system with base concept
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
 
Computer number systems
Computer number systemsComputer number systems
Computer number systems
 
Number System
Number SystemNumber System
Number System
 
Binary codes
Binary codesBinary codes
Binary codes
 
Number system
Number systemNumber system
Number system
 
Binary Arithmetic Operations
Binary Arithmetic OperationsBinary Arithmetic Operations
Binary Arithmetic Operations
 

Similar to Number Systems

chapter 3 number systems register transfer
chapter 3 number systems register transferchapter 3 number systems register transfer
chapter 3 number systems register transfer
rashidxasan369
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
arunachalamr16
 
Number systems
Number systemsNumber systems
Number systems
Volodymyr Ushenko
 
Number system de (2131004) - 160920107003
Number system    de (2131004) - 160920107003Number system    de (2131004) - 160920107003
Number system de (2131004) - 160920107003
Prashant odhavani
 
5871320.ppt
5871320.ppt5871320.ppt
5871320.ppt
BikashPaul14
 
number system 1.pptx
number system 1.pptxnumber system 1.pptx
number system 1.pptx
MohammadAnsari340279
 
ITC lecture 3.pptx
ITC lecture 3.pptxITC lecture 3.pptx
ITC lecture 3.pptx
RizwanTariq18
 
Cse115 lecture01numbersystems
Cse115 lecture01numbersystemsCse115 lecture01numbersystems
Cse115 lecture01numbersystems
Md. Ashikur Rahman
 
Mca i-u-1.1 digital logic circuits, digital component floting and fixed point
Mca i-u-1.1 digital logic circuits, digital component floting and fixed pointMca i-u-1.1 digital logic circuits, digital component floting and fixed point
Mca i-u-1.1 digital logic circuits, digital component floting and fixed point
Rai University
 
digital logic circuits, digital component floting and fixed point
digital logic circuits, digital component floting and fixed pointdigital logic circuits, digital component floting and fixed point
digital logic circuits, digital component floting and fixed point
Rai University
 
Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...
Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...
Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...
Rai University
 
B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...
B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...
B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...
Rai University
 
Number Systems
Number SystemsNumber Systems
Number Systems
Reggie Niccolo Santos
 
Week9.pptx
Week9.pptxWeek9.pptx
Week9.pptx
BismaIshfaq3
 
Number systems
Number systemsNumber systems
Number systems
Mustafa Salah
 
Number systems
Number systemsNumber systems
Number systemsKumar
 
01.number systems
01.number systems01.number systems
01.number systemsrasha3
 
Number setetertystems i_
Number setetertystems i_Number setetertystems i_
Number setetertystems i_
Sara Gonzalez
 

Similar to Number Systems (20)

chapter 3 number systems register transfer
chapter 3 number systems register transferchapter 3 number systems register transfer
chapter 3 number systems register transfer
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
 
Number systems
Number systemsNumber systems
Number systems
 
Number system de (2131004) - 160920107003
Number system    de (2131004) - 160920107003Number system    de (2131004) - 160920107003
Number system de (2131004) - 160920107003
 
5871320.ppt
5871320.ppt5871320.ppt
5871320.ppt
 
number system 1.pptx
number system 1.pptxnumber system 1.pptx
number system 1.pptx
 
ITC lecture 3.pptx
ITC lecture 3.pptxITC lecture 3.pptx
ITC lecture 3.pptx
 
Cse115 lecture01numbersystems
Cse115 lecture01numbersystemsCse115 lecture01numbersystems
Cse115 lecture01numbersystems
 
Mca i-u-1.1 digital logic circuits, digital component floting and fixed point
Mca i-u-1.1 digital logic circuits, digital component floting and fixed pointMca i-u-1.1 digital logic circuits, digital component floting and fixed point
Mca i-u-1.1 digital logic circuits, digital component floting and fixed point
 
digital logic circuits, digital component floting and fixed point
digital logic circuits, digital component floting and fixed pointdigital logic circuits, digital component floting and fixed point
digital logic circuits, digital component floting and fixed point
 
01.Number Systems
01.Number Systems01.Number Systems
01.Number Systems
 
Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...
Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...
Bca 2nd sem u-1.1 digital logic circuits, digital component floting and fixed...
 
Number System
Number SystemNumber System
Number System
 
B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...
B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...
B.sc cs-ii -u-1.1 digital logic circuits, digital component floting and fixed...
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Week9.pptx
Week9.pptxWeek9.pptx
Week9.pptx
 
Number systems
Number systemsNumber systems
Number systems
 
Number systems
Number systemsNumber systems
Number systems
 
01.number systems
01.number systems01.number systems
01.number systems
 
Number setetertystems i_
Number setetertystems i_Number setetertystems i_
Number setetertystems i_
 

More from student

Logic Gates
Logic GatesLogic Gates
Logic Gatesstudent
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
student
 
Number Systems
Number SystemsNumber Systems
Number Systems
student
 
towers of hanoi
towers of hanoitowers of hanoi
towers of hanoistudent
 
header, circular and two way linked lists
header, circular and two way linked listsheader, circular and two way linked lists
header, circular and two way linked lists
student
 
Arrays Data Structure
Arrays Data StructureArrays Data Structure
Arrays Data Structure
student
 
binary arithmetic rules
binary arithmetic rulesbinary arithmetic rules
binary arithmetic rules
student
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
student
 
animals colours numbers idioms
animals colours numbers idiomsanimals colours numbers idioms
animals colours numbers idiomsstudent
 
irregular verbs
irregular verbsirregular verbs
irregular verbsstudent
 
dc generator ece
dc generator ecedc generator ece
dc generator ecestudent
 
INDUCTION MOTOR
INDUCTION MOTORINDUCTION MOTOR
INDUCTION MOTORstudent
 
structure and union
structure and unionstructure and union
structure and unionstudent
 
storage class
storage classstorage class
storage classstudent
 
file handling1
file handling1file handling1
file handling1student
 
direct and indirect band gap
direct and indirect band gapdirect and indirect band gap
direct and indirect band gapstudent
 
hall effect
hall effecthall effect
hall effectstudent
 
optics chapter_07_solution_manual
optics chapter_07_solution_manualoptics chapter_07_solution_manual
optics chapter_07_solution_manualstudent
 
dyneins and kinesins
dyneins and kinesinsdyneins and kinesins
dyneins and kinesinsstudent
 
Structure and function of bacterial cells
Structure and function of bacterial cellsStructure and function of bacterial cells
Structure and function of bacterial cellsstudent
 

More from student (20)

Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
towers of hanoi
towers of hanoitowers of hanoi
towers of hanoi
 
header, circular and two way linked lists
header, circular and two way linked listsheader, circular and two way linked lists
header, circular and two way linked lists
 
Arrays Data Structure
Arrays Data StructureArrays Data Structure
Arrays Data Structure
 
binary arithmetic rules
binary arithmetic rulesbinary arithmetic rules
binary arithmetic rules
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
 
animals colours numbers idioms
animals colours numbers idiomsanimals colours numbers idioms
animals colours numbers idioms
 
irregular verbs
irregular verbsirregular verbs
irregular verbs
 
dc generator ece
dc generator ecedc generator ece
dc generator ece
 
INDUCTION MOTOR
INDUCTION MOTORINDUCTION MOTOR
INDUCTION MOTOR
 
structure and union
structure and unionstructure and union
structure and union
 
storage class
storage classstorage class
storage class
 
file handling1
file handling1file handling1
file handling1
 
direct and indirect band gap
direct and indirect band gapdirect and indirect band gap
direct and indirect band gap
 
hall effect
hall effecthall effect
hall effect
 
optics chapter_07_solution_manual
optics chapter_07_solution_manualoptics chapter_07_solution_manual
optics chapter_07_solution_manual
 
dyneins and kinesins
dyneins and kinesinsdyneins and kinesins
dyneins and kinesins
 
Structure and function of bacterial cells
Structure and function of bacterial cellsStructure and function of bacterial cells
Structure and function of bacterial cells
 

Recently uploaded

The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
oz8q3jxlp
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
slg6lamcq
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
jerlynmaetalle
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
g4dpvqap0
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
balafet
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
ahzuo
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
mbawufebxi
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
dwreak4tg
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
roli9797
 
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
u86oixdj
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
rwarrenll
 

Recently uploaded (20)

The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
 
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
 

Number Systems

  • 1. Number System Set of rules and symbols to represent numbers Classified into weighted or positional and non-weighted or non-positional systems Types:- Types of number system Base Binary 2 Octal 8 Decimal 10 Hexadecimal 16
  • 2. Common Number Systems System Base Symbols Used by humans? Used in computers? Decimal 10 0, 1, … 9 Yes No Binary 2 0, 1 No Yes Octal 8 0, 1, … 7 No No Hexa-decimal 16 0, 1, … 9, A, B, … F No No
  • 3. Quantities/Counting (1 of 3) Decimal Binary Octal Hexa-decimal 0 0 0 0 1 1 1 1 2 10 2 2 3 11 3 3 4 100 4 4 5 101 5 5 6 110 6 6 7 111 7 7 p. 33
  • 4. Quantities/Counting (2 of 3) Decimal Binary Octal Hexa-decimal 8 1000 10 8 9 1001 11 9 10 1010 12 A 11 1011 13 B 12 1100 14 C 13 1101 15 D 14 1110 16 E 15 1111 17 F
  • 5. Quantities/Counting (3 of 3) Decimal Binary Octal Hexa-decimal 16 10000 20 10 17 10001 21 11 18 10010 22 12 19 10011 23 13 20 10100 24 14 21 10101 25 15 22 10110 26 16 23 10111 27 17 Etc.
  • 6. Conversion Among Bases • The possibilities: Decimal Octal Hexadecimal Binary
  • 7. Quick Example 2510 = 110012 = 318 = 1916 Base
  • 8. Decimal to Decimal (just for fun) Decimal Octal Hexadecimal Binary
  • 9. 12510 => 5 x 100= 5 2 x 101= 20 1 x 102= 100 125 Base Weight
  • 10. Fractions • Decimal to decimal (just for fun) 3.14 => 4 x 10-2 = 0.04 1 x 10-1 = 0.1 3 x 100 = 3 3.14
  • 11. Decimal to Binary Decimal Octal Hexadecimal Binary
  • 12. Decimal to Binary • Technique – Divide by two, keep track of the remainder – First remainder is bit 0 (LSB, least-significant bit) – Second remainder is bit 1 – Etc.
  • 13. Example 12510 = ?2 2 125 2 6 2 1 2 3 1 0 2 1 5 1 2 7 1 2 3 1 2 1 1 0 1 12510 = 11111012
  • 14. Fractions • Decimal to binary 3.14579 .14579 x 2 0.29158 x 2 0.58316 x 2 1.16632 x 2 0.33264 x 2 0.66528 x 2 1.33056 11.001001... etc.
  • 15. Decimal to Octal Decimal Octal Hexadecimal Binary
  • 16. Decimal to Octal • Technique – Divide by 8 – Keep track of the remainder
  • 17. Example 123410 = ?8 8 1234 8 154 2 8 19 2 8 2 3 0 2 123410 = 23228
  • 18. Decimal to Hexadecimal Decimal Octal Hexadecimal Binary
  • 19. Decimal to Hexadecimal • Technique – Divide by 16 – Keep track of the remainder
  • 20. Example 123410 = ?16 123410 = 4D216 16 1234 1 6 77 2 1 6 4 13 = D 0 4
  • 21. Binary to Decimal Decimal Octal Hexadecimal Binary
  • 22. Binary to Decimal • Technique – Multiply each bit by 2n, where n is the “weight” of the bit – The weight is the position of the bit, starting from 0 on the right – Add the results
  • 23. Example 1010112 => 1 x 20 = 1 1 x 21 = 2 0 x 22 = 0 1 x 23 = 8 0 x 24 = 0 1 x 25 = 32 4310 Bit “0”
  • 24. Fractions • Binary to decimal 10.1011 => 1 x 2-4 = 0.0625 1 x 2-3 = 0.125 0 x 2-2 = 0.0 1 x 2-1 = 0.5 0 x 20 = 0.0 1 x 21 = 2.0 2.6875
  • 25. Octal to Decimal Decimal Octal Hexadecimal Binary
  • 26. Octal to Decimal • Technique – Multiply each bit by 8n, where n is the “weight” of the bit – The weight is the position of the bit, starting from 0 on the right – Add the results
  • 27. Example 7248 => 4 x 80 = 4 2 x 81 = 16 7 x 82 = 448 46810
  • 28. Hexadecimal to Decimal Decimal Octal Hexadecimal Binary
  • 29. Hexadecimal to Decimal • Technique – Multiply each bit by 16n, where n is the “weight” of the bit – The weight is the position of the bit, starting from 0 on the right – Add the results
  • 30. Example ABC16 => C x 160 = 12 x 1 = 12 B x 161 = 11 x 16 = 176 A x 162 = 10 x 256 = 2560 274810
  • 31. Binary to Octal Decimal Octal Hexadecimal Binary
  • 32. Binary to Octal • Technique – Group bits in threes, starting on right – Convert to octal digits
  • 33. Example 10110101112 = ?8 1 011 010 111 1 3 2 7 10110101112 = 13278
  • 34. Octal to Binary Decimal Octal Hexadecimal Binary
  • 35. Octal to Binary • Technique – Convert each octal digit to a 3-bit equivalent binary representation
  • 36. Example 7058 = ?2 7 0 5 111 000 101 7058 = 1110001012
  • 37. Binary to Hexadecimal Decimal Octal Hexadecimal Binary
  • 38. Binary to Hexadecimal • Technique – Group bits in fours, starting on right – Convert to hexadecimal digits
  • 39. Example 10101110112 = ?16 10 1011 1011 2 B B 10101110112 = 2BB16
  • 40. Hexadecimal to Binary Decimal Octal Hexadecimal Binary
  • 41. Hexadecimal to Binary • Technique – Convert each hexadecimal digit to a 4-bit equivalent binary representation
  • 42. Example 10AF16 = ?2 1 0 A F 0001 0000 1010 1111 10AF16 = 00010000101011112
  • 43. Octal to Hexadecimal Decimal Octal Hexadecimal Binary
  • 44. Octal to Hexadecimal • Technique – Use binary as an intermediary
  • 45. Example 10768 = ?16 1 0 7 6 001 000 111 110 2 3 E 10768 = 23E16
  • 46. Hexadecimal to Octal Decimal Octal Hexadecimal Binary
  • 47. Hexadecimal to Octal • Technique – Use binary as an intermediary
  • 48. Example 1F0C16 = ?8 1 F 0 C 0001 1111 0000 1100 1 7 4 1 4 1F0C16 = 174148
  • 49. Exercise – Convert ... Decimal Binary Octal Don’t use a calculator! Hexa-decimal 33 1110101 703 1AF Skip answer Answer
  • 50. Exercise – Convert … Answer Decimal Binary Octal Hexa-decimal 33 100001 41 21 117 1110101 165 75 451 111000011 703 1C3 431 110101111 657 1AF
  • 51. Exercise – Convert ... Decimal Binary Octal Don’t use a calculator! Hexa-decimal 29.8 101.1101 3.07 C.82 Skip answer Answer
  • 52. Exercise – Convert … Answer Decimal Binary Octal Hexa-decimal 29.8 11101.110011… 35.63… 1D.CC… 5.8125 101.1101 5.64 5.D 3.109375 11.000111 3.07 3.1C 12.5078125 1100.10000010 14.404 C.82