SlideShare a Scribd company logo
1 of 12
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
Number system:
A system to represents different quantities or values numerically is known as number system.
Number system is of two types:
1) Non-positional number system.
2) Positional number system.
Non-positional number system:
In non-positional number system some symbols are used to represent numbers for ex: I for 1, II
for 2 etc. These symbols are not capable of representing their position in the number and
therefore, it is very difficult to perform any arithmetic operation using non-positional number
system. So, to overcome this drawback positional number system is developed.
Positional number system:
In positional number system digits are used as symbol. These digits represent different values,
which depends upon their position they carry or hold in the number. Total number of
digits/symbols used by a number system under positional number system is known as its Base
or Radix.
Some of the positional number systems used in computers are as follow:
1) Decimal number system.
2) Binary number system.
3) Octal number system.
4) Hexadecimal number system.
Decimal number system:
In decimal number system following symbols are used as digits:
0,1,2,3,4,5,6,7,8,9.
Therefore Decimal number system has base 10 because it uses total 10 digits.
For ex: (7)10 , (117)10 here base 10 signifies that the number is decimal number.
Binary number system:
In binary number system following symbols are used as digits:
0 and 1.
Therefore binary number system has base 2 because it uses total 2 digits.
For ex: (101101)2, (0101011011)2 here base 2 signifies that the number is binary number.
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
Octal number system:
In octal number system following symbols are used as digits:
0, 1, 2, 3, 4, 5, 6, 7.
Therefore octal number system has base 8 because it uses total 8 digits.
For ex: (7)8, (107)8 here base 8 signifies that the number is octal number.
Hexadecimal number system:
In hexadecimal number system following symbols are used as digits:
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F.
Where,
A is used to represent 10.
B is used to represent 11.
C is used to represent 12.
D is used to represent 13.
E is used to represent 14.
F is used to represent 15.
For ex: (DE)16, (27C)16 here base 16 signifies that the number is hexadecimal number.
Therefore hexadecimal number system has base 16 because it uses total 16 digits.
1.29 Conversion from one number system to another:
1) Decimal to binary conversion:
Steps of conversion:
1. Divide the decimal number by 2.
2. Record the remainder.
3. Divide the quotient of the previous divide by 2.
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
4. Repeat step (2) and (3) until the quotient becomes zero.
5. And write the answer equal to the remainder in upward direction.
For ex: (7)10 = (?)2
2 7 1
2 3 1
2 1 1
0
Answer: (7)10 = (111)2.
For fractional numbers steps of conversion:
1. Repeat the same steps as given above for the number before decimal i.e. integer part.
Now for the fractional part:
2. Multiply the fractional part by 2.
3. From the answer of multiplication record the integer part separate.
4. For the fractional part of answer of previous multiplication repeat the previous step (2).
Repeat the step (2), (3), and (4) four to five times or as per asked in the question.
For ex: (28.32)10 = (?)2.
For integer part:
2 28 0
2 14 0
2 7 1
2 3 1
2 1 1
0
Remainder
QUOTIENT
Answerwill be
recordedinupward
direction.
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
For fractional part:
.32 X 2 = 0.64 0
.64 X 2 = 1.28 1
.28 X 2 = 0.56 0
.56 X 2 = 1.12 1
Answer: (28.32)10 = (11100.0101)2
2) Decimal to octal conversion:
Steps of conversion:
1. Divide the decimal number by 8.
2. Record the remainder.
3. Divide the quotient of the previous divide by 8.
4. Repeat step (2) and (3) until the quotient becomes zero.
5. And write the answer equal to the remainder in upward direction.
For ex: (21)10 = (?)8
8 21 5
8 2 2
0
Answer: (21)10 = (25)8.
For fractional numbers steps of conversion:
1. Repeat the same steps as given above for the number before decimal i.e. integer part.
Now for the fractional part:
2. Multiply the fractional part by 8.
3. From the answer of multiplication record the integer part separate.
4. For the fractional part of answer of previous multiplication repeat the previous step (2).
Repeat the step (2), (3), and (4) four to five times or as per asked in the question.
Answerwill be
recordedin
downwarddirection.
Answerwill be
recordedinupward
direction.
Integerpart(from the answer of multiplication)
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
For ex: (64.33)10 = (?)8.
For integer part:
8 64 0
8 8 0
8 1 1
0
For fractional part: integer part (from the answer of multiplication)
.33 X 8 = 2.64 2
.64 X 8 = 5.12 5
.12 X 8 = 0.96 0
.96 X 8 = 7.68 7
Answer: (64.33)10 = (100.2507)8
3) Decimal to Hexadecimal conversion:
Steps of conversion:
1. Divide the decimal number by 16.
2. Record the remainder.
3. Divide the quotient of the previous divide by 16.
4. Repeat step (2) and (3) until the quotient becomes zero.
5. And write the answer equal to the remainder in upward direction.
For ex: (43)10 = (?)16.
16 43 B (B represents 11)
16 2 2
0
Answer: (43)10 = (2B) 16.
For fractional number steps of conversion:
1. Repeat the same steps as given above for the number before decimal i.e. integer part.
Answerwill be
recordedinupward
direction.
Answerwill be
recordedin
downwarddirection.
Answerwill be
recordedinupward
direction.
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
Now for the fractional part:
2. Multiply the fractional part by 8.
3. From the answer of multiplication record the integer part separate.
4. For the fractional part of answer of previous multiplication repeat the previous step (2).
Repeat the step (2), (3), and (4) four to five times or as per asked in the question.
For ex: (86.73)10 = (?)16.
For integer part:
16 86 6
16 5 5
0
For fractional part: integer part (from the answer of multiplication)
.73 X 16 = 11.68 11 (B)
.68 X 16 = 10.88 10 (A)
.88 X 16 = 14.08 14 (E)
.08 X 16 = 1.28 1
Answer: (86.73)10 = (56.BAE1)16.
4) Binary to Decimal conversion:
Steps for conversion:
1. Multiply the last digit of the binary number by 2^0 and store the result.
2. Increment the power by 1.
3. Take the previous digit.
4. Multiply the digit in step (3) by 2^ power in step (2) and store the result.
5. Repeat the step (2), (3) and (4) until you reach to the first digit of the decimal
number.
6. Add all the results to get the answer.
Answerwill be
recordedinupward
direction.
Answerwill be
recordedin
downwarddirection.
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
For ex: (101)2 = (?)10.
1 0 1
X22
X21
X20
4 + 0 + 1 = (5)10.
Answer: (101)2 = (5)10.
For fractional number steps of conversion:
1. Repeat the same steps as given above for the integer part.
Now for the fractional part:
2. Multiply the first digit of the fractional part by 2^-1 and store the result.
3. Increment the power by -1.
4. Take the next digit.
5. Multiply the digit in the step (4) by 2^ power in step (3) and store the result.
6. Repeat the step (2), (3) and (4) until you reach to the last digit of the decimal number.
7. Add all the results to get the answer.
For ex: (101.101)2 = (?)10.
Right to left (before decimal) left to right (after decimal)
1 0 1 . 1 0 1
X22
X21
X20
. X2-1
X2-2
X2-3
4 + 0 + 1 . .50 + 0 + .125
(=5) (=.625)
=5.625
Answer: (101.101)2 = (5.625)10.
5) Octal to Decimal conversion:
Procedure of multiplicationby
differentpowersof 2is inright to
leftdirection.
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
Steps for conversion:
1. Multiply the last digit of the binary number by 8^0 and store the result.
2. Increment the power by 1.
3. Take the previous digit.
4. Multiply the digit in step (3) by 8^ power in step (2) and store the result.
5. Repeat the step (2), (3) and (4) until you reach to the first digit of the decimal
number.
6. Add all the results to get the answer.
For ex: (32)8 = (?)10.
3 2
X81
X80
24 + 2 = 26
Answer: (32)8 = (26)10.
For fractional number steps of conversion:
1. Repeat the same steps as given above for the integer part.
Now for the fractional part:
2. Multiply the first digit of the fractional part by 8^-1 and store the result.
3. Increment the power by -1.
4. Take the next digit.
5. Multiply the digit in the step (4) by 8^ power in step (3) and store the result.
6. Repeat the step (2), (3) and (4) until you reach to the last digit of the decimal number.
7. Add all the results to get the answer.
For ex: (32.23)8 = (?)10.
3 2 . 2 3
X81
X80
. X8-1
X8-2
24 + 2 . .25 + .05 = 26.3
Answer: (32.23)8 = (26.3)10.
6) Hexadecimal to decimal conversion:
Steps for conversion:
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
1. Multiply the last digit of the binary number by 16^0 and store the result.
2. Increment the power by 1.
3. Take the previous digit.
4. Multiply the digit in step (3) by 16^ power in step (2) and store the result.
5. Repeat the step (2), (3) and (4) until you reach to the first digit of the decimal
number.
6. Add all the results to get the answer.
For ex: (2F)16 = (?)10.
2 F
X161
X160
32 + 15 = 47.
Answer: (2F) 16 = (47)10.
For fractional number steps of conversion:
1. Repeat the same steps as given above for the integer part.
Now for the fractional part:
2. Multiply the first digit of the fractional part by 16^-1 and store the result.
3. Increment the power by -1.
4. Take the next digit.
5. Multiply the digit in the step (4) by 16^ power in step (3) and store the result.
6. Repeat the step (2), (3) and (4) until you reach to the last digit of the decimal number.
7. Add all the results to get the answer.
For ex: (23.45)16 = (?)10.
2 3 . 4 5
X161
X160
. X 16-1
X16-2
32 + 3 . .25 + 0.02 = 35.27.
Answer: (23.45)16 = (35.27)10.
7) Binary to Octal conversion:
Long method:
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
Step1: convert Binary to Decimal. (Same as discussed before).
Step2: convert Decimal to Binary. (Same as discussed before).
For ex: (10110)2 = (?)8.
(Step1: convert Binary to Decimal.)
1 0 1 1 0
X24
X23
X22
X21
X20
16 + 0 + 4 + 2 + 0 =(22)10
(Step2: convert Decimal to Octal.)
8 22 6
8 2 2
0
= (26)8
Answer: (10110)2 = (26)8.
Short-cut method:
1. Make the group of three digits starting from the right side.
2. Take the first group.
3. Multiply the last digit of the group by 1, next digit by 2 and the third digit by 4 then, add
all the results and store the sum.
4. Take the next group.
5. Repeat the step (3.) and (4.) for each group.
6. Write all the sums together in the same sequence (as groups were made), as a number
to get the answer.
For ex: (10110)2 = (?)8
Starting from the right hand side first group will be 110 and in the second group only 2 digits
were left but we need 3 to proceed further. So we can add 0 at left hand side of the digit. It will
not make any difference in our answer. Similarly, as you know if you add 0 after decimal it
doesn’t make any difference.
Answerwill be
recordedinupward
direction.
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
Group2: Group1:
0 1 0 1 1 0
X4 X2 X1 X4 X2 X1
=0 + 2 + 0 = 4 + 2 + 0
=2 =6
Answer: (10110)2 = (26)8
For fractional number steps of conversion:
Long method:
Step1: convert Binary to Decimal. (Same as discussed before).
Step2: convert Decimal to Octal. (Same as discussed before).
Short-cut method:
1. Repeat the same steps as given above for the integer part.
Now for the fractional part:
2. Make the group of three digits starting from the left side.
3. Take the first group.
4. Multiply the last digit of the group by 1, next digit by 2 and the third digit by 4 then, add
all the results and store the sum.
5. Take the next group.
6. Repeat the step (3.) and (4.) for each group.
7. Write all the sums together in the same sequence (as groups were made), as a number
to get the answer.
For ex: (111011.1010)2 = (?)8.
Group1: Group2: Group3: Group4:
1 1 1 0 1 1 . 1 0 1 0 0 0
X4 X2 X1 X4 X2 X1 X4 X2 X1 X4 X2 X1
=4 + 2 + 1 =0 + 2 + 1 . =4 + 0 + 1 =0 + 0 + 0
=7 =3 . =5 =0
Answer: (111011.1010)2 = (73.50)8.
An Extra
zero.
FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO
WWW.EAKANCHHA.COM
Note: two extra zero’s were added at the end of group4 as only one digit was left and we need
three digits.

More Related Content

What's hot

What's hot (20)

1's and 2's complement
1's and 2's complement 1's and 2's complement
1's and 2's complement
 
Number System
Number SystemNumber System
Number System
 
Basic of number system
Basic of number systemBasic of number system
Basic of number system
 
Number_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.pptNumber_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.ppt
 
1s and 2s complement
1s and 2s complement1s and 2s complement
1s and 2s complement
 
Computer Number System
Computer Number SystemComputer Number System
Computer Number System
 
Complements of numbers
Complements of numbersComplements of numbers
Complements of numbers
 
Number System
Number SystemNumber System
Number System
 
binary number system
 binary number system binary number system
binary number system
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Convert decimal to binary
Convert decimal to binary Convert decimal to binary
Convert decimal to binary
 
Signed Binary Numbers
Signed Binary NumbersSigned Binary Numbers
Signed Binary Numbers
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Digital logic design lecture 01
Digital logic design   lecture 01Digital logic design   lecture 01
Digital logic design lecture 01
 
BCD.
BCD.BCD.
BCD.
 
Data representation
Data representationData representation
Data representation
 
BCD to Decimal - Digital Electronics
BCD to Decimal - Digital ElectronicsBCD to Decimal - Digital Electronics
BCD to Decimal - Digital Electronics
 
Decimal, Binary, Octal, And Hexadecimal number systems.
Decimal, Binary, Octal, And Hexadecimal number systems.Decimal, Binary, Octal, And Hexadecimal number systems.
Decimal, Binary, Octal, And Hexadecimal number systems.
 
Conversion binary to decimal
Conversion binary to decimalConversion binary to decimal
Conversion binary to decimal
 
Number system conversion
Number system conversionNumber system conversion
Number system conversion
 

Similar to Number system with conversions www.eakanchha.com

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
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawabAmmar_n
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdfAsthaChaurasia4
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversionRam Pratap Singh
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1Deepak John
 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental Aman anand kumar
 
Data representation
Data representationData representation
Data representationManish Kumar
 
Chapter iii: Number System
Chapter iii: Number SystemChapter iii: Number System
Chapter iii: Number Systemkclove
 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxMamataAnilgod
 

Similar to Number system with conversions www.eakanchha.com (20)

Number system
Number systemNumber system
Number system
 
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...
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdf
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1
 
Number system
Number systemNumber system
Number system
 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
 
Data representation
Data representationData representation
Data representation
 
Chapter iii: Number System
Chapter iii: Number SystemChapter iii: Number System
Chapter iii: Number System
 
Number system
Number system  Number system
Number system
 
Number system
Number systemNumber system
Number system
 
Number System and Boolean Algebra
Number System and Boolean AlgebraNumber System and Boolean Algebra
Number System and Boolean Algebra
 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptx
 

More from Akanchha Agrawal

Micro economics questions sets
Micro economics questions setsMicro economics questions sets
Micro economics questions setsAkanchha Agrawal
 
Basic of c programming www.eakanchha.com
Basic of c programming www.eakanchha.comBasic of c programming www.eakanchha.com
Basic of c programming www.eakanchha.comAkanchha Agrawal
 
Lvp law of variable proportions www.eakanchha.com
Lvp law of variable proportions www.eakanchha.comLvp law of variable proportions www.eakanchha.com
Lvp law of variable proportions www.eakanchha.comAkanchha Agrawal
 
programs of c www.eakanchha.com
 programs of c www.eakanchha.com programs of c www.eakanchha.com
programs of c www.eakanchha.comAkanchha Agrawal
 
cost missing value question www.eakanchha.com
 cost missing value question www.eakanchha.com cost missing value question www.eakanchha.com
cost missing value question www.eakanchha.comAkanchha Agrawal
 
cost missing value question www.eakanchha.com
 cost missing value question www.eakanchha.com cost missing value question www.eakanchha.com
cost missing value question www.eakanchha.comAkanchha Agrawal
 
cost micro economics www.eakanchha.com
cost micro economics www.eakanchha.comcost micro economics www.eakanchha.com
cost micro economics www.eakanchha.comAkanchha Agrawal
 

More from Akanchha Agrawal (7)

Micro economics questions sets
Micro economics questions setsMicro economics questions sets
Micro economics questions sets
 
Basic of c programming www.eakanchha.com
Basic of c programming www.eakanchha.comBasic of c programming www.eakanchha.com
Basic of c programming www.eakanchha.com
 
Lvp law of variable proportions www.eakanchha.com
Lvp law of variable proportions www.eakanchha.comLvp law of variable proportions www.eakanchha.com
Lvp law of variable proportions www.eakanchha.com
 
programs of c www.eakanchha.com
 programs of c www.eakanchha.com programs of c www.eakanchha.com
programs of c www.eakanchha.com
 
cost missing value question www.eakanchha.com
 cost missing value question www.eakanchha.com cost missing value question www.eakanchha.com
cost missing value question www.eakanchha.com
 
cost missing value question www.eakanchha.com
 cost missing value question www.eakanchha.com cost missing value question www.eakanchha.com
cost missing value question www.eakanchha.com
 
cost micro economics www.eakanchha.com
cost micro economics www.eakanchha.comcost micro economics www.eakanchha.com
cost micro economics www.eakanchha.com
 

Recently uploaded

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Number system with conversions www.eakanchha.com

  • 1. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM Number system: A system to represents different quantities or values numerically is known as number system. Number system is of two types: 1) Non-positional number system. 2) Positional number system. Non-positional number system: In non-positional number system some symbols are used to represent numbers for ex: I for 1, II for 2 etc. These symbols are not capable of representing their position in the number and therefore, it is very difficult to perform any arithmetic operation using non-positional number system. So, to overcome this drawback positional number system is developed. Positional number system: In positional number system digits are used as symbol. These digits represent different values, which depends upon their position they carry or hold in the number. Total number of digits/symbols used by a number system under positional number system is known as its Base or Radix. Some of the positional number systems used in computers are as follow: 1) Decimal number system. 2) Binary number system. 3) Octal number system. 4) Hexadecimal number system. Decimal number system: In decimal number system following symbols are used as digits: 0,1,2,3,4,5,6,7,8,9. Therefore Decimal number system has base 10 because it uses total 10 digits. For ex: (7)10 , (117)10 here base 10 signifies that the number is decimal number. Binary number system: In binary number system following symbols are used as digits: 0 and 1. Therefore binary number system has base 2 because it uses total 2 digits. For ex: (101101)2, (0101011011)2 here base 2 signifies that the number is binary number.
  • 2. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM Octal number system: In octal number system following symbols are used as digits: 0, 1, 2, 3, 4, 5, 6, 7. Therefore octal number system has base 8 because it uses total 8 digits. For ex: (7)8, (107)8 here base 8 signifies that the number is octal number. Hexadecimal number system: In hexadecimal number system following symbols are used as digits: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. Where, A is used to represent 10. B is used to represent 11. C is used to represent 12. D is used to represent 13. E is used to represent 14. F is used to represent 15. For ex: (DE)16, (27C)16 here base 16 signifies that the number is hexadecimal number. Therefore hexadecimal number system has base 16 because it uses total 16 digits. 1.29 Conversion from one number system to another: 1) Decimal to binary conversion: Steps of conversion: 1. Divide the decimal number by 2. 2. Record the remainder. 3. Divide the quotient of the previous divide by 2.
  • 3. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM 4. Repeat step (2) and (3) until the quotient becomes zero. 5. And write the answer equal to the remainder in upward direction. For ex: (7)10 = (?)2 2 7 1 2 3 1 2 1 1 0 Answer: (7)10 = (111)2. For fractional numbers steps of conversion: 1. Repeat the same steps as given above for the number before decimal i.e. integer part. Now for the fractional part: 2. Multiply the fractional part by 2. 3. From the answer of multiplication record the integer part separate. 4. For the fractional part of answer of previous multiplication repeat the previous step (2). Repeat the step (2), (3), and (4) four to five times or as per asked in the question. For ex: (28.32)10 = (?)2. For integer part: 2 28 0 2 14 0 2 7 1 2 3 1 2 1 1 0 Remainder QUOTIENT Answerwill be recordedinupward direction.
  • 4. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM For fractional part: .32 X 2 = 0.64 0 .64 X 2 = 1.28 1 .28 X 2 = 0.56 0 .56 X 2 = 1.12 1 Answer: (28.32)10 = (11100.0101)2 2) Decimal to octal conversion: Steps of conversion: 1. Divide the decimal number by 8. 2. Record the remainder. 3. Divide the quotient of the previous divide by 8. 4. Repeat step (2) and (3) until the quotient becomes zero. 5. And write the answer equal to the remainder in upward direction. For ex: (21)10 = (?)8 8 21 5 8 2 2 0 Answer: (21)10 = (25)8. For fractional numbers steps of conversion: 1. Repeat the same steps as given above for the number before decimal i.e. integer part. Now for the fractional part: 2. Multiply the fractional part by 8. 3. From the answer of multiplication record the integer part separate. 4. For the fractional part of answer of previous multiplication repeat the previous step (2). Repeat the step (2), (3), and (4) four to five times or as per asked in the question. Answerwill be recordedin downwarddirection. Answerwill be recordedinupward direction. Integerpart(from the answer of multiplication)
  • 5. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM For ex: (64.33)10 = (?)8. For integer part: 8 64 0 8 8 0 8 1 1 0 For fractional part: integer part (from the answer of multiplication) .33 X 8 = 2.64 2 .64 X 8 = 5.12 5 .12 X 8 = 0.96 0 .96 X 8 = 7.68 7 Answer: (64.33)10 = (100.2507)8 3) Decimal to Hexadecimal conversion: Steps of conversion: 1. Divide the decimal number by 16. 2. Record the remainder. 3. Divide the quotient of the previous divide by 16. 4. Repeat step (2) and (3) until the quotient becomes zero. 5. And write the answer equal to the remainder in upward direction. For ex: (43)10 = (?)16. 16 43 B (B represents 11) 16 2 2 0 Answer: (43)10 = (2B) 16. For fractional number steps of conversion: 1. Repeat the same steps as given above for the number before decimal i.e. integer part. Answerwill be recordedinupward direction. Answerwill be recordedin downwarddirection. Answerwill be recordedinupward direction.
  • 6. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM Now for the fractional part: 2. Multiply the fractional part by 8. 3. From the answer of multiplication record the integer part separate. 4. For the fractional part of answer of previous multiplication repeat the previous step (2). Repeat the step (2), (3), and (4) four to five times or as per asked in the question. For ex: (86.73)10 = (?)16. For integer part: 16 86 6 16 5 5 0 For fractional part: integer part (from the answer of multiplication) .73 X 16 = 11.68 11 (B) .68 X 16 = 10.88 10 (A) .88 X 16 = 14.08 14 (E) .08 X 16 = 1.28 1 Answer: (86.73)10 = (56.BAE1)16. 4) Binary to Decimal conversion: Steps for conversion: 1. Multiply the last digit of the binary number by 2^0 and store the result. 2. Increment the power by 1. 3. Take the previous digit. 4. Multiply the digit in step (3) by 2^ power in step (2) and store the result. 5. Repeat the step (2), (3) and (4) until you reach to the first digit of the decimal number. 6. Add all the results to get the answer. Answerwill be recordedinupward direction. Answerwill be recordedin downwarddirection.
  • 7. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM For ex: (101)2 = (?)10. 1 0 1 X22 X21 X20 4 + 0 + 1 = (5)10. Answer: (101)2 = (5)10. For fractional number steps of conversion: 1. Repeat the same steps as given above for the integer part. Now for the fractional part: 2. Multiply the first digit of the fractional part by 2^-1 and store the result. 3. Increment the power by -1. 4. Take the next digit. 5. Multiply the digit in the step (4) by 2^ power in step (3) and store the result. 6. Repeat the step (2), (3) and (4) until you reach to the last digit of the decimal number. 7. Add all the results to get the answer. For ex: (101.101)2 = (?)10. Right to left (before decimal) left to right (after decimal) 1 0 1 . 1 0 1 X22 X21 X20 . X2-1 X2-2 X2-3 4 + 0 + 1 . .50 + 0 + .125 (=5) (=.625) =5.625 Answer: (101.101)2 = (5.625)10. 5) Octal to Decimal conversion: Procedure of multiplicationby differentpowersof 2is inright to leftdirection.
  • 8. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM Steps for conversion: 1. Multiply the last digit of the binary number by 8^0 and store the result. 2. Increment the power by 1. 3. Take the previous digit. 4. Multiply the digit in step (3) by 8^ power in step (2) and store the result. 5. Repeat the step (2), (3) and (4) until you reach to the first digit of the decimal number. 6. Add all the results to get the answer. For ex: (32)8 = (?)10. 3 2 X81 X80 24 + 2 = 26 Answer: (32)8 = (26)10. For fractional number steps of conversion: 1. Repeat the same steps as given above for the integer part. Now for the fractional part: 2. Multiply the first digit of the fractional part by 8^-1 and store the result. 3. Increment the power by -1. 4. Take the next digit. 5. Multiply the digit in the step (4) by 8^ power in step (3) and store the result. 6. Repeat the step (2), (3) and (4) until you reach to the last digit of the decimal number. 7. Add all the results to get the answer. For ex: (32.23)8 = (?)10. 3 2 . 2 3 X81 X80 . X8-1 X8-2 24 + 2 . .25 + .05 = 26.3 Answer: (32.23)8 = (26.3)10. 6) Hexadecimal to decimal conversion: Steps for conversion:
  • 9. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM 1. Multiply the last digit of the binary number by 16^0 and store the result. 2. Increment the power by 1. 3. Take the previous digit. 4. Multiply the digit in step (3) by 16^ power in step (2) and store the result. 5. Repeat the step (2), (3) and (4) until you reach to the first digit of the decimal number. 6. Add all the results to get the answer. For ex: (2F)16 = (?)10. 2 F X161 X160 32 + 15 = 47. Answer: (2F) 16 = (47)10. For fractional number steps of conversion: 1. Repeat the same steps as given above for the integer part. Now for the fractional part: 2. Multiply the first digit of the fractional part by 16^-1 and store the result. 3. Increment the power by -1. 4. Take the next digit. 5. Multiply the digit in the step (4) by 16^ power in step (3) and store the result. 6. Repeat the step (2), (3) and (4) until you reach to the last digit of the decimal number. 7. Add all the results to get the answer. For ex: (23.45)16 = (?)10. 2 3 . 4 5 X161 X160 . X 16-1 X16-2 32 + 3 . .25 + 0.02 = 35.27. Answer: (23.45)16 = (35.27)10. 7) Binary to Octal conversion: Long method:
  • 10. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM Step1: convert Binary to Decimal. (Same as discussed before). Step2: convert Decimal to Binary. (Same as discussed before). For ex: (10110)2 = (?)8. (Step1: convert Binary to Decimal.) 1 0 1 1 0 X24 X23 X22 X21 X20 16 + 0 + 4 + 2 + 0 =(22)10 (Step2: convert Decimal to Octal.) 8 22 6 8 2 2 0 = (26)8 Answer: (10110)2 = (26)8. Short-cut method: 1. Make the group of three digits starting from the right side. 2. Take the first group. 3. Multiply the last digit of the group by 1, next digit by 2 and the third digit by 4 then, add all the results and store the sum. 4. Take the next group. 5. Repeat the step (3.) and (4.) for each group. 6. Write all the sums together in the same sequence (as groups were made), as a number to get the answer. For ex: (10110)2 = (?)8 Starting from the right hand side first group will be 110 and in the second group only 2 digits were left but we need 3 to proceed further. So we can add 0 at left hand side of the digit. It will not make any difference in our answer. Similarly, as you know if you add 0 after decimal it doesn’t make any difference. Answerwill be recordedinupward direction.
  • 11. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM Group2: Group1: 0 1 0 1 1 0 X4 X2 X1 X4 X2 X1 =0 + 2 + 0 = 4 + 2 + 0 =2 =6 Answer: (10110)2 = (26)8 For fractional number steps of conversion: Long method: Step1: convert Binary to Decimal. (Same as discussed before). Step2: convert Decimal to Octal. (Same as discussed before). Short-cut method: 1. Repeat the same steps as given above for the integer part. Now for the fractional part: 2. Make the group of three digits starting from the left side. 3. Take the first group. 4. Multiply the last digit of the group by 1, next digit by 2 and the third digit by 4 then, add all the results and store the sum. 5. Take the next group. 6. Repeat the step (3.) and (4.) for each group. 7. Write all the sums together in the same sequence (as groups were made), as a number to get the answer. For ex: (111011.1010)2 = (?)8. Group1: Group2: Group3: Group4: 1 1 1 0 1 1 . 1 0 1 0 0 0 X4 X2 X1 X4 X2 X1 X4 X2 X1 X4 X2 X1 =4 + 2 + 1 =0 + 2 + 1 . =4 + 0 + 1 =0 + 0 + 0 =7 =3 . =5 =0 Answer: (111011.1010)2 = (73.50)8. An Extra zero.
  • 12. FOR COMPLETE NUMBER SYSTEM ANDCONVERSION WITHC LANGUAGE LOGIN TO WWW.EAKANCHHA.COM Note: two extra zero’s were added at the end of group4 as only one digit was left and we need three digits.