SlideShare a Scribd company logo
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

Binary addition.pptx
Binary addition.pptxBinary addition.pptx
Binary addition.pptx
Pooja Dixit
 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
Aman anand kumar
 
Octal and Hexadecimal Numbering Systems
Octal and Hexadecimal Numbering SystemsOctal and Hexadecimal Numbering Systems
Octal and Hexadecimal Numbering Systems
Leo Hernandez
 
EC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's ComplementEC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's Complement
AmberSinghal1
 
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.
AOUN ABBAS
 
Number System
Number SystemNumber System
Number System
Zahid Rajeel
 
Number system
Number systemNumber system
Number system
ankush9927
 
Number system and its conversions
Number system and its conversionsNumber system and its conversions
Number system and its conversions
ShilpaKrishna6
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
missstevenson01
 
Number system
Number systemNumber system
Number system
Suraj Bora
 
Representation Of Numbers and Characters
Representation Of Numbers and CharactersRepresentation Of Numbers and Characters
Representation Of Numbers and Characters
Shaikh Kamrul Islam (Konok kamrul)
 
Number system
Number systemNumber system
Number system
RajThakuri
 
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
 
binary number system
 binary number system binary number system
binary number system
vishal gupta
 
Number System
Number SystemNumber System
Number System
Meenakshi Paul
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
Nisarg Amin
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
Rishabh Kanth
 
system of linear equations by Diler
system of linear equations by Dilersystem of linear equations by Diler
system of linear equations by Diler
kishor pokar
 
Number System
Number SystemNumber System
Number System
Web Designer
 
Number system
Number systemNumber system
Number system
Palash Sachan
 

What's hot (20)

Binary addition.pptx
Binary addition.pptxBinary addition.pptx
Binary addition.pptx
 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
 
Octal and Hexadecimal Numbering Systems
Octal and Hexadecimal Numbering SystemsOctal and Hexadecimal Numbering Systems
Octal and Hexadecimal Numbering Systems
 
EC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's ComplementEC Binary Substraction using 1's Complement,2's Complement
EC Binary Substraction using 1's Complement,2's Complement
 
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.
 
Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 
Number system and its conversions
Number system and its conversionsNumber system and its conversions
Number system and its conversions
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Number system
Number systemNumber system
Number system
 
Representation Of Numbers and Characters
Representation Of Numbers and CharactersRepresentation Of Numbers and Characters
Representation Of Numbers and Characters
 
Number system
Number systemNumber system
Number system
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
 
binary number system
 binary number system binary number system
binary number system
 
Number System
Number SystemNumber System
Number System
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 
system of linear equations by Diler
system of linear equations by Dilersystem of linear equations by Diler
system of linear equations by Diler
 
Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 

Similar to Number system with conversions www.eakanchha.com

Number system
Number systemNumber system
Number system
SAEED ULLAH JAN
 
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 nawab
Ammar_n
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
Wollo UNiversity
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
Lovely Professional University
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
Anil Kumar Prajapati
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdf
AsthaChaurasia4
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
AsifRahaman16
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
AnaMarieFrane
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
Ram Pratap Singh
 
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
 
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
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1
Deepak John
 
Number system
Number systemNumber system
Number system
Bikash Kumar
 
1. Digital Electronics Number System.pdf
1. Digital Electronics Number System.pdf1. Digital Electronics Number System.pdf
1. Digital Electronics Number System.pdf
Nehachandran2
 
Data representation
Data representationData representation
Data representation
Manish Kumar
 
Chapter iii: Number System
Chapter iii: Number SystemChapter iii: Number System
Chapter iii: Number System
kclove
 
Number system
Number system  Number system
Number system
anjineyalus
 
Number system
Number systemNumber system
Number system
Iqra Yasin
 

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
 
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
 
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
 
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
 
1. Digital Electronics Number System.pdf
1. Digital Electronics Number System.pdf1. Digital Electronics Number System.pdf
1. Digital Electronics Number System.pdf
 
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
 

More from Akanchha Agrawal

Micro economics questions sets
Micro economics questions setsMicro economics questions sets
Micro economics questions sets
Akanchha 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.com
Akanchha 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.com
Akanchha Agrawal
 
programs of c www.eakanchha.com
 programs of c www.eakanchha.com programs of c www.eakanchha.com
programs of c www.eakanchha.com
Akanchha 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.com
Akanchha 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.com
Akanchha Agrawal
 
cost micro economics www.eakanchha.com
cost micro economics www.eakanchha.comcost micro economics www.eakanchha.com
cost micro economics www.eakanchha.com
Akanchha 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

The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 

Recently uploaded (20)

The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 

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.