1. Data in computers is represented using binary numbers consisting of 0s and 1s. Common number systems used are binary, decimal, octal and hexadecimal.
2. Decimal numbers use base 10 with digits 0-9. Binary uses base 2 with digits 0-1. Octal uses base 8 with digits 0-7. Hexadecimal uses base 16 with digits 0-9 and A-F.
3. Converting between number systems involves dividing or multiplying by the base. Integer and fractional parts are handled separately.
Introduction to Computing lecture presentation to analyze the number systems handled by digital computing devices to process data, convert decimal to binary, solve Binary Arithmetic, and extend understanding of other number systems (Octal and Hexadecimal).
Conversion of Number Systems
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.
Digital computer deals with numbers; it is essential to know what kind of numbers can be handled most easily when using these machines. We accustomed to work primarily with the decimal number system for numerical calculations, but there is some number of systems that are far better suited to the capabilities of digital computers. And there is a number system used to represents numerical data when using the computer.
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
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
Introduction to Computing lecture presentation to analyze the number systems handled by digital computing devices to process data, convert decimal to binary, solve Binary Arithmetic, and extend understanding of other number systems (Octal and Hexadecimal).
Conversion of Number Systems
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.
Digital computer deals with numbers; it is essential to know what kind of numbers can be handled most easily when using these machines. We accustomed to work primarily with the decimal number system for numerical calculations, but there is some number of systems that are far better suited to the capabilities of digital computers. And there is a number system used to represents numerical data when using the computer.
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
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
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!!!!!
Number system with conversions www.eakanchha.comAkanchha Agrawal
number system with conversions.learn step by step conversion positional number system and non positional number system, Decimal number system, Binary number system, Octal number system, Hexadecimal number system. Conversion from one number system to another, Decimal to binary conversion, Decimal to octal conversion, Decimal to Hexadecimal conversion, Binary to Decimal conversion, Octal to Decimal conversion, Hexadecimal to decimal 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
Contents:
1.What is number system?
2.Conversions of number from one radix to another
3.Complements (1's, 2's, 9's, 10's)
4.Binary Arithmetic ( Addition, subtraction, multiplication, division)
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,...
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!!!!!
Number system with conversions www.eakanchha.comAkanchha Agrawal
number system with conversions.learn step by step conversion positional number system and non positional number system, Decimal number system, Binary number system, Octal number system, Hexadecimal number system. Conversion from one number system to another, Decimal to binary conversion, Decimal to octal conversion, Decimal to Hexadecimal conversion, Binary to Decimal conversion, Octal to Decimal conversion, Hexadecimal to decimal 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
Contents:
1.What is number system?
2.Conversions of number from one radix to another
3.Complements (1's, 2's, 9's, 10's)
4.Binary Arithmetic ( Addition, subtraction, multiplication, division)
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,...
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.
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Safalta Digital marketing institute in Noida, provide complete applications that encompass a huge range of virtual advertising and marketing additives, which includes search engine optimization, virtual communication advertising, pay-per-click on marketing, content material advertising, internet analytics, and greater. These university courses are designed for students who possess a comprehensive understanding of virtual marketing strategies and attributes.Safalta Digital Marketing Institute in Noida is a first choice for young individuals or students who are looking to start their careers in the field of digital advertising. The institute gives specialized courses designed and certification.
for beginners, providing thorough training in areas such as SEO, digital communication marketing, and PPC training in Noida. After finishing the program, students receive the certifications recognised by top different universitie, setting a strong foundation for a successful career in digital marketing.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
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
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
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
2. INTRODUCTION
• The data stored in the computer may be of different kinds, as
follows:
• Numeric data (0, 1, 2, …, 9)
• Alphabetic data (A, B, C, …, Z)
• Alphanumeric data—Combination of any of the symbols—(A, B,
C… Z), (0, 1… 9), or special characters (+,−, Blank), etc.
• All kinds of data, be it alphabets, numbers, symbols, sound
data or video data, is represented in terms of 0s and 1s, in the
computer. Each symbol is represented as a unique
combination of 0s and 1s.
3. NUMBER SYSTEM
• A number system in base r or radix r uses unique symbols for r
digits.
• One or more digits are combined to get a number. The base of the
number decides the valid digits that are used to make a number.
• In a number, the position of digit starts from the right-hand side
of the number. The rightmost digit has position 0, the next digit
on its left has position 1, and so on.
• The digits of a number have two kinds of values:
1. The face value of a digit is the digit located at that position. For
example, in decimal number 52, face value at position 0 is 2 and face
value at position 1 is 5.
2. The position value of a digit is (baseposition). For example, in decimal
number 52, the position value of digit 2 is 100 and the position value of
digit 5 is 101. Decimal numbers have a base of 10.
4. NUMBER SYSTEM
• The number is calculated as the sum of, face value *
baseposition, of each of the digits.
• For decimal number 52, the number is 5*101 + 2*100 = 50 +
2 = 52
• In computers, we are concerned with four kinds of number
systems, as follows:
1. Decimal Number System —Base 10
2. Binary Number System —Base 2
3. Octal Number System —Base 8
4. Hexadecimal Number System—Base 16
5. NUMBER SYSTEM
• The numbers given as input to computer and the numbers
given as output from the computer, are generally in decimal
number system, and are most easily understood by humans.
• However, computer understands the binary number system,
i.e., numbers in terms of 0s and 1s.
• The binary data is also represented, internally, as octal
numbers and hexadecimal numbers due to their ease of use.
• A number in a particular base is written as (number)base of
number
• For example, (23)10 means that the number 23 is a decimal
number, and (345)8 shows that 345 is an octal number.
6. DECIMAL NUMBER SYSTEM
• It consists of 10 digits—0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.
• All numbers in this number system are represented as
combination of digits 0—9.
• For example, 34, 5965 and 867321.
• The position value and quantity of a digit at different
positions in a number are as follows:
Position 3 2 1 0 -1 -2 -3
Position
Value
103 102 101 100 10-1 10-2 10-3
Quantity 1000 100 10 1 1/10 1/100 1/1000
7. BINARY NUMBER SYSTEM
• The binary number system consists of two digits—0 and 1.
• All binary numbers are formed using combination of 0 and
1.
• For example, 1001, 11000011 and 10110101.
• The position value and quantity of a digit at different
positions in a number are as follows:
Position 3 2 1 0 -1 -2 -3
Position
Value
23 22 21 20 2-1 2-2 2-3
Quantity 8 4 2 1 1/2 1/4 1/8
8. OCTAL NUMBER SYSTEM
• The octal number system consists of eight digits—0 to 7.
• All octal numbers are represented using these eight digits.
For example, 273, 103, 2375, etc.
• The position value and quantity of a digit at different
positions in a number are as follows
Position 3 2 1 0 -1 -2 -3
Position
Value
83 82 81 80 8-1 8-2 8-3
Quantity 512 64 8 1 1/8 1/64 1/512
9. HEXADECIMAL NUMBER SYSTEM
• The hexadecimal number system consists of sixteen digits—
0 to 9, A, B, C, D, E, F, where (A is for 10, B is for 11, C-12,
D-13, E-14, F-15).
• All hexadecimal numbers are represented using these 16
digits. For example, 3FA, 87B, 113, etc.
• The position value and quantity of a digit at different
positions in a number are as follows
Position 3 2 1 0 -1 -2 -3
Position
Value
163 162 161 80 8-1 8-2 8-3
Quantity 512 64 8 1 1/8 1/64 1/512
10. SUMMARY OF NUMBER SYSTEM
Base Digits Largest Digit
Decimal 10 0-9 9
Binary 2 0,1 1
Octal 8 0-7 7
Hexadecimal 16 0-9,A,B,C,D,E,F F(15)
12. CONVERSION FROM DECIMAL TO
BINARY, OCTAL, HEXADECIMAL
• A decimal number has two parts—integer part and fraction
part.
• For example, in the decimal number 23.0786, 23 is the
integer part and .0786 is the fraction part.
• The method used for the conversion of the integer part of a
decimal number is different from the one used for the
fraction part.
• In the following subsections, we shall discuss the conversion
of decimal integer, decimal fraction and decimal integer
fraction number into binary, octal and hexadecimal number.
13. CONVERTING DECIMAL INTEGER TO
BINARY, OCTAL, HEXADECIMAL
• A decimal integer is converted to any other base, by using
the division operation.
• To convert a decimal integer to:
• binary-divide by 2,
• octal-divide by 8, and,
• hexadecimal-divide by 16
Example 1: Convert 25 from Base 10 to Base 2
Example 2: Convert 23 from Base 10 to Base 2, 8, 16
Example 3: Convert 147 from Base 10 to Base 2, 8 and 16
Example 4: Convert 94 from Base 10 to Base 2, 8 and 16
14. CONVERTING DECIMAL FRACTION TO
BINARY, OCTAL, HEXADECIMAL
• A fractional number is a number less than 1. It may be .5, .00453,
.564, etc.
• We use the multiplication operation to convert decimal fraction to
any other base.
• To convert a decimal fraction to
• binary-multiply by 2,
• octal-multiply by 8, and,
• hexadecimal-multiply by 16.
• Steps for conversion of a decimal fraction to any other base are:
1. Multiply the fractional number with the to Base, to get a resulting
number.
15. CONVERTING DECIMAL FRACTION TO
BINARY, OCTAL, HEXADECIMAL
2. The resulting number has two parts, non-fractional part and
fractional part.
3. Record the non-fractional part of the resulting number.
4. Repeat the above steps at least four times.
5. Write the digits in the non-fractional part starting from upwards to
downwards.
Example 5: Convert 0.2345 from Base 10 to Base 2
Example 5a: Convert 0.865 from Base 10 to Base 2,8 and 16
16. CONVERTING DECIMAL INTEGER.FRACTION
TO BINARY, OCTAL, HEXADECIMAL
• A decimal integer.fraction number has both integer part and
fraction part.
• The steps for conversion of a decimal integer.fraction to any
other base are:
1. Convert decimal integer part to the desired base following
the steps discussed before.
2. Convert decimal fraction part to the desired base following
the steps discussed before.
3. The integer and fraction part in the desired base is combined
to get integer.fraction.
17. CONVERTING DECIMAL INTEGER.FRACTION
TO BINARY, OCTAL, HEXADECIMAL
Example 6: Convert 34.4674 from Base 10 to Base 2
Example 7: Convert 34.4674 from Base 10 to Base 8
Example 8: Convert 34.4674 from Base 10 to Base 16.
18. CONVERSION OF BINARY, OCTAL,
HEXADECIMAL TO DECIMAL
• A binary, octal or hexadecimal number has two parts—
integer part and fraction part.
• For example, a binary number could be 10011, 0.011001 or
10011.0111.
• The numbers 45, .362 or 245.362 are octal numbers.
• A hexadecimal number could be A2, .4C2 or A1.34.
• The method used for the conversion of integer part and
fraction part of binary, octal or hexadecimal number to
decimal number is the same; multiplication operation is used
for the conversion. The conversion mechanism uses the face
value and position value of digits.
19. CONVERSION OF BINARY, OCTAL,
HEXADECIMAL TO DECIMAL
• The steps for conversion are as follows:
• 1. Find the sum of the Face Value * (fromBase)position for each
digit in the number.
1. In a non-fractional number, the rightmost digit has position 0 and
the position increases as we go towards the left.
2. In a fractional number, the first digit to the left of decimal point
has position 0 and the position increases as we go towards the left.
The first digit to the right of the decimal point has position –1 and it
decreases as we go towards the right (−2, −3, etc.)
20. CONVERSION OF BINARY, OCTAL,
HEXADECIMAL TO DECIMAL
Example 9:
Convert 1011 from Base 2 to Base 10.
Convert 62 from Base 8 to Base 10.
Convert C15 from Base 16 to Base 10
Example 10:
Convert .1101 from Base 2 to Base 10.
Convert .345 from Base 8 to Base 10.
Convert .15 from Base 16 to Base 10.
Example 11:
Convert 1011.1001 from Base 2 to Base 10.
Convert 24.36 from Base 8 to Base 10.
Convert 4D.21 from Base 16 to Base 10.
21. CONVERSION OF BINARY TO OCTAL,
HEXADECIMAL
• A binary number can be converted into octal or hexadecimal
number using a shortcut method.
• The shortcut method is based on the following information:
• An octal digit from 0 to 7 can be represented as a combination of 3 bits,
since 23 = 8.
• A hexadecimal digit from 0 to 15 can be represented as a combination of
4 bits, since 24 = 16.
• The Steps for Binary to Octal Conversion are:
1. Partition the binary number in groups of three bits, starting from the
right-most side.
2. For each group of three bits, find its octal number.
3. The result is the number formed by the combination of the octal
numbers.
• .
22. CONVERSION OF BINARY TO OCTAL,
HEXADECIMAL
• The Steps for Binary to Hexadecimal Conversion are:
1. Partition the binary number in groups of four bits, starting from the
right-most side.
2. For each group of four bits, find its hexadecimal number.
3. The result is the number formed by the combination of the
hexadecimal numbers
Example 12: Convert the binary number 1110101100110 to
octal.
Example 13: Convert the binary number 1110101100110 to
hexadecimal
23. CONVERSION OF OCTAL,
HEXADECIMAL TO BINARY
• The conversion of a number from octal and hexadecimal to
binary uses the inverse of the steps defined for the conversion of
binary to octal and hexadecimal.
• The Steps for Octal to Binary Conversion are:
1. Convert each octal number into a three-digit binary number.
2. The result is the number formed by the combination of all the bits.
• The Steps for Hexadecimal to Binary Conversion are:
1. Convert each hexadecimal number into a four-digit binary number.
2. The result is the number formed by the combination of all the bits
Example 14: Convert the hexadecimal number 2BA3 to binary
Example 15: Convert the octal number 473 to binary
24. BINARY ARITHMETIC
Binary Addition
Example 5: Add 10111, 11100 and 11. Verify theanswer with
the help of decimal addition.
Binary Subtraction
Example 4: Subtract 100110 from 110001. Verify the answer
with the help of decimal subtraction
25. SIGNED AND UNSIGNED NUMBERS
• A binary number may be positive or negative. Generally, we use
the symbol “+” and “−” to represent positive and negative
numbers, respectively.
• The sign of a binary number has to be represented using 0 and 1,
in the computer.
• An n-bit signed binary number consists of two parts—sign bit and
magnitude. The left most bit, also called the Most Significant Bit
(MSB) is the sign bit. The remaining n-1 bits denote the
magnitude of the number.
• In signed binary numbers, the sign bit is 0 for a positive number
and 1 for a negative number.
• For example, 01100011 is a positive number since its sign bit is 0,
and, 11001011 is a negative number since its sign bit is 1