The document discusses different number systems including positional and non-positional systems. It describes the decimal, binary, octal, and hexadecimal number systems. Conversion between these number systems is also explained through long and short-cut methods. Steps are provided to convert between decimal, binary, octal, and hexadecimal numbers. Conversion of both integer and fractional numbers is covered.
Every computer stores numbers, letters and other specially characters In coded form. There are two types of number system-
Non-Positional Number system
Positional Number System
Different number system used in computers to represent data.
Number system are of 4 types-Decimal,Binary,Octal&Hexadecimal
visit my channel for detailed explaination of conversions of number systems
https://youtu.be/elFs55aledc
Computers only deal with binary data (0s and 1s), hence all data manipulated by computers must be represented in binary format.
Machine instructions manipulate many different forms of data:
Numbers:
Integers: 33, +128, -2827
Real numbers: 1.33, +9.55609, -6.76E12, +4.33E-03
Alphanumeric characters (letters, numbers, signs, control characters): examples: A, a, c, 1 ,3, ", +, Ctrl, Shift, etc.
So in general we have two major data types that need to be represented in computers; numbers and characters
Introduction
Numbering Systems
Binary & Hexadecimal Numbers
Binary and Hexadecimal Addition
Binary and Hexadecimal subtraction
Base Conversions
Numbering system, binary number system, octal number system, decimal number system, hexadecimal number system.
Code conversion, Conversion from one number system to another, floating point numbers
A power point presentation on number system which briefly explains the conversion of decimal to binary, binary to decimal, binary to octal, octal to decimal. Ping me at Twitter (https://twitter.com/rishabh_kanth), to Download this Presentation.
This the presentation prepared by SIDI DILER the student of CIVIL ENGINEERING at Government Engineering College BHUJ under the fulfillment of the Progressive Assessment component of the Course of Vector Calculus and Linear Algebra with code 2110015.
CONTENTS
INTRODUCTION,
TYPES OF NUMBER SYSTEM,
DECIMAL NUMBER SYSTEM,
BINARY NUMBER SYSTEM,
OCTAL NUMBER SYSTEM,
HEXADECIMAL NUMBER SYSTEM,
CONVERSION METHOD,
• INTRODUCTION:
A set of values used to represent different quantities is known as NUMBER SYSTEM.
For example-
A number can be used to represent the number of student in a class or number of viewers watching a certain TV program etc.
• TYPES OF NUMBER SYSTEM:
Number systems are four types,
1. DECIMAL NUMBER SYSTEM,
2. BINARY NUMBER SYSTEM,
3. OCTAL NUMBER SYSTEM,
4. HEXADECIMAL NUMBER SYSTEM,
DECIMAL NUMBER SYSTEM:
The number system that we used in our day to day life is the decimal number system.
Decimal number system has base 10 as it uses ten digits from 0 to 9.
EXAMPLE-(234)10
BINARY NUMBER SYSTEM:
Binary number system uses two digits 0&1.
Its base is 2.
A combination of binary numbers may be used to represent different quantities like 1001.
Example –
(1001)2,
(100)2,
OCTAL NUMBER SYSTEM:
Octal number system consists of eight digits from 0 to 7.
The base of octal system is 8.
Any digit in this system is always less than 8.
It is shortcut method to represent long binary number.
Example –
(34)8,
(235)8,
• HEXADECIMAL NUMBER SYSTEM:
Hexadecimal number system consist of 16 digits from 0 to 9 and a to f.
Its base is 16.
Each digit of this number system represents a power of 8.
Example-
(6D) 16,
(A3)16,
CONVERSION METHOD:
There are two methods used most frequently to convert a number in a particular base to another base.
Remainder method,
Expansion method,
REMAINDER METHOD:
This method is used to convert a decimal number to its equivalent value in any other base.
The following steps are to be followed by this method:
Divide the number by the base and note the remainder.
Divide the quotient by the base and note the remainder.
Repeat step 2 until the quotient cannot be divided further. That is, the quotient become to smaller than divisor.
The sequence of remainder starting from last generated 1 prefix by undivided quotient is the converted number.
EXPANSION METHOD:
This method can be applied to convert any number in any base to its equivalent in base 10.
During expansion, the base of the number is sequentially raised to start with 0 and is incremented by one for every digit that occurs in the binary number.
THANK YOU!!!!!
To Download this click on the link below:-
http://www29.zippyshare.com/v/42478054/file.html
Number System
Decimal Number System
Binary Number System
Why Binary?
Octal Number System
Hexadecimal Number System
Relationship between Hexadecimal, Octal, Decimal, and Binary
Number Conversions
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...Arti Parab Academics
Number System:
Analog System, digital system, numbering system, binary number
system, octal number system, hexadecimal number system, conversion
from one number system to another, floating point numbers, weighted
codes binary coded decimal, non-weighted codes Excess – 3 code, Gray
code, Alphanumeric codes – ASCII Code, EBCDIC, ISCII Code,
Hollerith Code, Morse Code, Teletypewriter (TTY), Error detection
and correction, Universal Product Code, Code conversion.
Every computer stores numbers, letters and other specially characters In coded form. There are two types of number system-
Non-Positional Number system
Positional Number System
Different number system used in computers to represent data.
Number system are of 4 types-Decimal,Binary,Octal&Hexadecimal
visit my channel for detailed explaination of conversions of number systems
https://youtu.be/elFs55aledc
Computers only deal with binary data (0s and 1s), hence all data manipulated by computers must be represented in binary format.
Machine instructions manipulate many different forms of data:
Numbers:
Integers: 33, +128, -2827
Real numbers: 1.33, +9.55609, -6.76E12, +4.33E-03
Alphanumeric characters (letters, numbers, signs, control characters): examples: A, a, c, 1 ,3, ", +, Ctrl, Shift, etc.
So in general we have two major data types that need to be represented in computers; numbers and characters
Introduction
Numbering Systems
Binary & Hexadecimal Numbers
Binary and Hexadecimal Addition
Binary and Hexadecimal subtraction
Base Conversions
Numbering system, binary number system, octal number system, decimal number system, hexadecimal number system.
Code conversion, Conversion from one number system to another, floating point numbers
A power point presentation on number system which briefly explains the conversion of decimal to binary, binary to decimal, binary to octal, octal to decimal. Ping me at Twitter (https://twitter.com/rishabh_kanth), to Download this Presentation.
This the presentation prepared by SIDI DILER the student of CIVIL ENGINEERING at Government Engineering College BHUJ under the fulfillment of the Progressive Assessment component of the Course of Vector Calculus and Linear Algebra with code 2110015.
CONTENTS
INTRODUCTION,
TYPES OF NUMBER SYSTEM,
DECIMAL NUMBER SYSTEM,
BINARY NUMBER SYSTEM,
OCTAL NUMBER SYSTEM,
HEXADECIMAL NUMBER SYSTEM,
CONVERSION METHOD,
• INTRODUCTION:
A set of values used to represent different quantities is known as NUMBER SYSTEM.
For example-
A number can be used to represent the number of student in a class or number of viewers watching a certain TV program etc.
• TYPES OF NUMBER SYSTEM:
Number systems are four types,
1. DECIMAL NUMBER SYSTEM,
2. BINARY NUMBER SYSTEM,
3. OCTAL NUMBER SYSTEM,
4. HEXADECIMAL NUMBER SYSTEM,
DECIMAL NUMBER SYSTEM:
The number system that we used in our day to day life is the decimal number system.
Decimal number system has base 10 as it uses ten digits from 0 to 9.
EXAMPLE-(234)10
BINARY NUMBER SYSTEM:
Binary number system uses two digits 0&1.
Its base is 2.
A combination of binary numbers may be used to represent different quantities like 1001.
Example –
(1001)2,
(100)2,
OCTAL NUMBER SYSTEM:
Octal number system consists of eight digits from 0 to 7.
The base of octal system is 8.
Any digit in this system is always less than 8.
It is shortcut method to represent long binary number.
Example –
(34)8,
(235)8,
• HEXADECIMAL NUMBER SYSTEM:
Hexadecimal number system consist of 16 digits from 0 to 9 and a to f.
Its base is 16.
Each digit of this number system represents a power of 8.
Example-
(6D) 16,
(A3)16,
CONVERSION METHOD:
There are two methods used most frequently to convert a number in a particular base to another base.
Remainder method,
Expansion method,
REMAINDER METHOD:
This method is used to convert a decimal number to its equivalent value in any other base.
The following steps are to be followed by this method:
Divide the number by the base and note the remainder.
Divide the quotient by the base and note the remainder.
Repeat step 2 until the quotient cannot be divided further. That is, the quotient become to smaller than divisor.
The sequence of remainder starting from last generated 1 prefix by undivided quotient is the converted number.
EXPANSION METHOD:
This method can be applied to convert any number in any base to its equivalent in base 10.
During expansion, the base of the number is sequentially raised to start with 0 and is incremented by one for every digit that occurs in the binary number.
THANK YOU!!!!!
To Download this click on the link below:-
http://www29.zippyshare.com/v/42478054/file.html
Number System
Decimal Number System
Binary Number System
Why Binary?
Octal Number System
Hexadecimal Number System
Relationship between Hexadecimal, Octal, Decimal, and Binary
Number Conversions
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...Arti Parab Academics
Number System:
Analog System, digital system, numbering system, binary number
system, octal number system, hexadecimal number system, conversion
from one number system to another, floating point numbers, weighted
codes binary coded decimal, non-weighted codes Excess – 3 code, Gray
code, Alphanumeric codes – ASCII Code, EBCDIC, ISCII Code,
Hollerith Code, Morse Code, Teletypewriter (TTY), Error detection
and correction, Universal Product Code, Code conversion.
we have made this like computer application course material which is so functionable and any one can use it to develop your technological concept skill.
We Belete And Tadelech
Number System is a method of representing Numbers on the Number Line with the help of a set of Symbols and rules. These symbols range from 0-9 and are termed as digits. Number System is used to perform mathematical computations ranging from great scientific calculations to calculations like counting the number of Toys for a Kid or Number chocolates remaining in the box. Number Systems comprise of multiple types based on the base value for its digits.
What is the Number Line?
A Number line is a representation of Numbers with a fixed interval in between on a straight line. A Number line contains all the types of numbers like natural numbers, rationals, Integers, etc. Numbers on the number line increase while moving Left to Right and decrease while moving from right to left. Ends of a number line are not defined i.e., numbers on a number line range from infinity on the left side of the zero to infinity on the right side of the zero.
Positive Numbers: Numbers that are represented on the right side of the zero are termed as Positive Numbers. The value of these numbers increases on moving towards the right. Positive numbers are used for Addition between numbers. Example: 1, 2, 3, 4, …
Negative Numbers: Numbers that are represented on the left side of the zero are termed as Negative Numbers. The value of these numbers decreases on moving towards the left. Negative numbers are used for Subtraction between numbers. Example: -1, -2, -3, -4, …
Number and Its Types
A number is a value created by the combination of digits with the help of certain rules. These numbers are used to represent arithmetical quantities. A digit is a symbol from a set 10 symbols ranging from 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Any combination of digits represents a Number. The size of a Number depends on the count of digits that are used for its creation.
For Example: 123, 124, 0.345, -16, 73, 9, etc.
Types of Numbers
Numbers are of various types depending upon the patterns of digits that are used for their creation. Various symbols and rules are also applied on Numbers which classifies them into a variety of different types:
Number and Its Types
1. Natural Numbers: Natural Numbers are the most basic type of Numbers that range from 1 to infinity. These numbers are also called Positive Numbers or Counting Numbers. Natural Numbers are represented by the symbol N.
Example: 1, 2, 3, 4, 5, 6, 7, and so on.
2. Whole Numbers: Whole Numbers are basically the Natural Numbers, but they also include ‘zero’. Whole numbers are represented by the symbol W.
Example: 0, 1, 2, 3, 4, and so on.
3. Integers: Integers are the collection of Whole Numbers plus the negative values of the Natural Numbers. Integers do not include fraction numbers i.e. they can’t be written in a/b form. The range of Integers is from the Infinity at the Negative end and Infinity at the Positive end, including zero. Integers are represented by the symbol Z.
Example: ...,-4, -3, -2, -1, 0, 1, 2, 3, 4,...
Number systems - Efficiency of number system, Decimal, Binary, Octal, Hexadecimalconversion
from one to another- Binary addition, subtraction, multiplication and division,
representation of signed numbers, addition and subtraction using 2’s complement and I’s
complement.
Binary codes - BCD code, Excess 3 code, Gray code, Alphanumeric code, Error detection
codes, Error correcting code.Deepak john,SJCET-Pala
Understand basic concept of c programming with more than 100 error free programs. use of header file and different symbols in c programs. for better and complete understanding login to www.eakanchha.com
Program 1: write a program to find simple interest by using formula: SI=(p*r*t)/100?
Program 2: write a program for conversion of C° temperature to F° temperature?
Program 3: write a program to find greater number between two numbers?
Program 4: write a program to find greater number between three numbers?
Program 5: write a program to find out the division of the student from marks of five subjects?
Program 6: write a program to calculate area and circumference of a circle as per user need?
Program 7: write a program to calculate gross salary, if dearness allowance is 40% and house rent allowance is 20% of the basic salary?
Program 8: write a program to identify vowels and consonants?
Program 9: write a program to identify even and odd number?
Program 10: write a program to swap two numbers without using third variable?
Program 11: write a program to swap two numbers using bitwise ex-or operator?
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
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.