SlideShare a Scribd company logo
1 of 23
Number System
Unit II: Chapter 5
Binary Number System
•A system uses only the digits 0 and 1 as codes.
• The word ‘bit’ is the abbreviation for binary digit.
• The binary number has 4 bits i.e. 0000 or 1111 called as nibble.
• The binary number with 8 bits i.e. 00000000 or 11111111 called as
byte.
Number
System
Decimal Base
10(0-9)
Binary
Base
2(0,1)
Octal Base 8
(0-7)
Hexa
decimal
Base 16
(0-9, A – F)
Decimal Binary Octal
Hexa-
decim
al
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
Numbers Equivalent
Counting
Decimal Binary Octal
Hexa-
decim
al
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
Conversion Among Bases
Hexadecimal
Decimal Octal
Binary
e.g.:(125)10 to ( )2
Answer: (1111101)2
For Binary to Decimal conversion
• Group into 3's starting at least significant symbol (if the
number of bits is not evenly divisible by 3, then add 0's at the
most significant end)
•write 1 octal digit for each group
e.g.: (1010101)2 to ( )8
001 010 101
1 2 5
Answer= 1258
Binary to Octal
Answer= (010101111)2
Octal to Binary
•Foreachof theOctaldigit writeitsbinaryequivalent
e.g.: (257)8to ()2
2 57
010
101
111
Binary to Hexadecimal
• Group into 4's starting at least significant symbol (if the
number of bits is not evenly divisible by 4, then add 0's at
themostsignificantend)
•write 1 hex digit for each group.
e.g.:(1010111011)2to ()16
10 1011 1011
B
2 B
Answer= (2BB)16
Hexadecimal to Binary
• For each of the Hex digit write its binary equivalent (use 4 bits to
represent).
e.g.: (25A0)16to ()2
25A0
0010
0101 1010
0000
Answer= (0010010110100000)2
• Steps:
1.Convertoctalnumberto itsbinary equivalent
2.Convertbinarynumberto itshexadecimalequivalent
e.g.: (635.27)8 to ()16
6 3 5 . 2 7
110 011 101 . 010 111
000 00
1 9 D . 5 C
Octal to Hexadecimal
• Steps:
1.Convert hexadecimal numberto itsbinaryequivalent
2.Convertbinarynumberto itsoctalequivalent
e.g.:
Hexadecimal to Octal
A 3 B . 7
1010 0011 1011 . 0111 00
5 0 7 3 . 3 4
Any Base to Decimal
Convertingfromanybaseto decimalisdone bymultiplying
eachdigit byitsweightand summing.
e.g.:
Binaryto Decimal
1011.112 = (1x23 ) + (0x22 )+ (1x21 ) + (1x20)+ (1x2-1) + (1x2-2)
= 8 + 0 + 2 + 1 + 0.5 + 0.25
= 11.7510
Decimal to Any Base
Steps:
1. Convertintegerpart
( SuccessiveDivisionMethod )
2. Convertfractionalpart
( SuccessiveMultiplicationMethod )
Stepsin SuccessiveDivisionMethod
1. Dividetheintegerpartof decimalnumberbydesired
basenumber,storequotient(Q) andremainder(R)
2. Consider quotient as a new decimal number
and repeatstep1untilquotientbecomes 0
3. Listtheremaindersin thereverse order
Stepsin SuccessiveMultiplicationMethod
1. Multiply the fractional part of decimal number by
desiredbasenumber
2. Record the integer part of product as carry and
fractionalpartasnewfractional part
3. Repeat steps 1 and 2 until fractional part of product
becomes0or untilyouhavemanydigitsasnecessary for
yourapplication
4. Readcarriesdownwardsto getdesiredbasenumber

More Related Content

Similar to Number System.pptx

Similar to Number System.pptx (20)

Lec 02
Lec 02Lec 02
Lec 02
 
Chapter two FHI.pptx
Chapter two FHI.pptxChapter two FHI.pptx
Chapter two FHI.pptx
 
Cit 1101 lec 02
Cit 1101 lec 02Cit 1101 lec 02
Cit 1101 lec 02
 
Okkkkk
OkkkkkOkkkkk
Okkkkk
 
01 intro
01 intro01 intro
01 intro
 
01 intro
01 intro01 intro
01 intro
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptx
 
Number system
Number systemNumber system
Number system
 
Chapter1b
Chapter1bChapter1b
Chapter1b
 
Unit 4.docx
Unit 4.docxUnit 4.docx
Unit 4.docx
 
Number System.pdf
Number System.pdfNumber System.pdf
Number System.pdf
 
Data representation
Data representationData representation
Data representation
 
08 Numeral systems
08 Numeral systems08 Numeral systems
08 Numeral systems
 
Binary octal
Binary octalBinary octal
Binary octal
 
Number system
Number system Number system
Number system
 
Number Systems - AK.pptx
Number Systems - AK.pptxNumber Systems - AK.pptx
Number Systems - AK.pptx
 
Number system
Number systemNumber system
Number system
 
Logic Design 2009
Logic Design 2009Logic Design 2009
Logic Design 2009
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 

Recently uploaded

Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...amitlee9823
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...amitlee9823
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...amitlee9823
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...amitlee9823
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramMoniSankarHazra
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...amitlee9823
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 

Recently uploaded (20)

Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men  🔝Dindigul🔝   Escor...
➥🔝 7737669865 🔝▻ Dindigul Call-girls in Women Seeking Men 🔝Dindigul🔝 Escor...
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Rabindra Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Rabindra Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 

Number System.pptx

  • 2. Binary Number System •A system uses only the digits 0 and 1 as codes. • The word ‘bit’ is the abbreviation for binary digit. • The binary number has 4 bits i.e. 0000 or 1111 called as nibble. • The binary number with 8 bits i.e. 00000000 or 11111111 called as byte.
  • 3. Number System Decimal Base 10(0-9) Binary Base 2(0,1) Octal Base 8 (0-7) Hexa decimal Base 16 (0-9, A – F)
  • 4. Decimal Binary Octal Hexa- decim al 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 Numbers Equivalent
  • 5. Counting Decimal Binary Octal Hexa- decim al 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
  • 7. e.g.:(125)10 to ( )2 Answer: (1111101)2
  • 8.
  • 9. For Binary to Decimal conversion
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. • Group into 3's starting at least significant symbol (if the number of bits is not evenly divisible by 3, then add 0's at the most significant end) •write 1 octal digit for each group e.g.: (1010101)2 to ( )8 001 010 101 1 2 5 Answer= 1258 Binary to Octal
  • 16. Answer= (010101111)2 Octal to Binary •Foreachof theOctaldigit writeitsbinaryequivalent e.g.: (257)8to ()2 2 57 010 101 111
  • 17. Binary to Hexadecimal • Group into 4's starting at least significant symbol (if the number of bits is not evenly divisible by 4, then add 0's at themostsignificantend) •write 1 hex digit for each group. e.g.:(1010111011)2to ()16 10 1011 1011 B 2 B Answer= (2BB)16
  • 18. Hexadecimal to Binary • For each of the Hex digit write its binary equivalent (use 4 bits to represent). e.g.: (25A0)16to ()2 25A0 0010 0101 1010 0000 Answer= (0010010110100000)2
  • 19. • Steps: 1.Convertoctalnumberto itsbinary equivalent 2.Convertbinarynumberto itshexadecimalequivalent e.g.: (635.27)8 to ()16 6 3 5 . 2 7 110 011 101 . 010 111 000 00 1 9 D . 5 C Octal to Hexadecimal
  • 20. • Steps: 1.Convert hexadecimal numberto itsbinaryequivalent 2.Convertbinarynumberto itsoctalequivalent e.g.: Hexadecimal to Octal A 3 B . 7 1010 0011 1011 . 0111 00 5 0 7 3 . 3 4
  • 21. Any Base to Decimal Convertingfromanybaseto decimalisdone bymultiplying eachdigit byitsweightand summing. e.g.: Binaryto Decimal 1011.112 = (1x23 ) + (0x22 )+ (1x21 ) + (1x20)+ (1x2-1) + (1x2-2) = 8 + 0 + 2 + 1 + 0.5 + 0.25 = 11.7510
  • 22. Decimal to Any Base Steps: 1. Convertintegerpart ( SuccessiveDivisionMethod ) 2. Convertfractionalpart ( SuccessiveMultiplicationMethod )
  • 23. Stepsin SuccessiveDivisionMethod 1. Dividetheintegerpartof decimalnumberbydesired basenumber,storequotient(Q) andremainder(R) 2. Consider quotient as a new decimal number and repeatstep1untilquotientbecomes 0 3. Listtheremaindersin thereverse order Stepsin SuccessiveMultiplicationMethod 1. Multiply the fractional part of decimal number by desiredbasenumber 2. Record the integer part of product as carry and fractionalpartasnewfractional part 3. Repeat steps 1 and 2 until fractional part of product becomes0or untilyouhavemanydigitsasnecessary for yourapplication 4. Readcarriesdownwardsto getdesiredbasenumber