SlideShare a Scribd company logo
1 of 20
UNIVERSITY OF MYSORE
MANASAGANGOTHRI
SECOND SEMESTER
Paper : Fundamentals of Information Technology
Seminar on :Binary Numbers addition subtraction
multiplication division
Presented to,
Dr.Chandrashekar .M
Professor
DOS in Library and Information Science
Manasagangothri, Mysore
Presented by
Kanthamani H D
 Contents
 Introduction
 Definition
 Some Binary Arithmetic
 Addition
 Subtraction
 ◦ Signed magnitude numbers
 ◦ 2’s complement numbers
 Multiplication
 Division
The binary number system is used in the
computer systems. The digits 0 and 1 are
combined to get different binary numbers like
1001, 11000110 etc. In a binary number, a digit
0 or 1 is called a bit. For example, 1001 is a 4-
bit binary number, and, 11000110 is an 8-bit
binary number. All kinds of data, be it alphabets,
numbers, symbols, sound data or video data, are
represented as combination of bits i.e. 0’s and
1’s. Each character is a unique combination of
bits. We shall now discuss how to perform basic
arithmetic operations in the binary number
system.
A binary is a system in which the
number system has a number 2 as it's base. It can
also pertain to a binary star which is a system of 2
stars.
or
Binary a numbering system that is also the
language spoken by computers. It is made up of
only 0s and 1s. For example, the number 37
in binary is 100101.
Binary is the language of computers.
Information is sent to and from the processor
in the binary system which consists of only two
digits (1 and 0). For example a line of ones and
zeros eight digits long can represent up to 256
different values that
 Addition
 Subtraction
 ◦ Signed magnitude numbers
 ◦ 2’s complement numbers
 Multiplication
 Division
Examples :
Add the binary numbers 1011 and 1001.
1011
+ 1001
10100
Add the binary numbers 100111 and 11011.
100111
+ 11011
1000010
 00011010 + 00001100 = 00100110
0 0 0 1 1 0 1 0 = 26(base 10)
+ 0 0 0 0 1 1 0 0 = 12(base 10)
0 0 1 0 0 1 1 0 = 38(base 10)
 00010011 + 00111110 = 01010001
1 1 1 1 1 carries
0 0 0 1 0 0 1 1 = 19(base 10)
+ 0 0 1 1 1 1 1 0 = 62(base 10)
0 1 0 1 0 0 0 1 = 81(base 10)
The principles of decimal subtraction can as well
be applied to subtraction of numbers in other cases.
It consists of two steps, which are repeated for each
column of the numbers. The first step is to
determine if it is necessary to borrow.
 0 ‐ 0 = 0
 0 ‐ 1 = 1, and borrow 1 from the next more significant bit
 1 ‐ 0 = 1
 1 ‐ 1 = 0
For example:-
00100101 ‐ 00010001 = 00010100
 0 borrows
0 0 10 0 1 0 1 = 37(base 10)
0 0 0 1 0 0 0 1 = 17(base 10)
0 0 0 1 0 1 0 0 = 20(base 10)
Complements are used in computer for the
simplification of the subtraction operation. We
now see, how to find the complement of a
binary number. There are two types of
complements for the binary number system –
1’scomplement and 2’scomplement.
 1’s complement of Binary number is computed
by changing the bits 1 to 0 and the bits 0 to 1.
For example,
1’s complement of 110 is 001
1’s complement of 1011 is 0100
1’s complement of 1101111 is 0010000
 2’s complement of Binary number is computed
by adding 1 to the 1’s complement of the binary
number.
For example:-
2’s complement of 110 is 001 + 1 = 010
2’s complement of 1011 is 0100 + 1 = 0101
2’s complement of 1101111 is 0010000 + 1 =
0010001
1 1 0 1011
0 0 1 0100
+ 1 + 1
0 1 0 0101
Rules of Binary Multiplication
 0 x 0 = 0
 0 x 1 = 0
 1 x 0 = 0
 1 x 1 = 1, and no carry or borrow bits
For example
1 1 0 0*1 0 1 0
1 1 0 0
0 0 0 0
11 0 0
0 0 0 0
0 1 1 1 1 0 0
1 0 1 0 * 1 1 0 0
1 0 1 0
1 0 1 0
0 0 0 0
0 0 0 0
0 0 1 1 1 1 0
 Binary division is also performed in the same
way as we perform decimal division. Like
decimal division, we also need to follow the
binary subtraction rules while performing the
binary division. The dividend involved in binary
division should be greater than the divisor. The
following are the two important points, which
need to be remembered while performing the
binary division.
•If the remainder obtained by the division
process is greater than or equal to the divisor,
put 1 in the quotient and perform the binary
subtraction.
 If the remainder obtained by the division
process is less than the divisor, put 0 in the
quotient and append the next most significant
digit from the dividend to the remainder.
Binary Division
Binary division is the repeated process of subtract
ion, just as in decimal division.
For example
 1 1 0)0 0 1 0 1 0 1 0 (1 1 1
1 1 0
1 0 0 1
1 1 0
0 0 1 1 0
1 1 0
0 0 0
The binary number system, base two, uses only
two symbols, 0 and 1. Two is the smallest whole
number that can be used as the base of a number
system. For many years, mathematicians saw base
two as a primitive system and overlooked the
potential of the binary system as a tool for
developing computer science and many electrical
devices.
Base two has several other names, including the
binary positional numeration system and the dyadic
system. Many civilizations have used the binary
system in some form, including inhabitants of
Australia, Polynesia, South America, and Africa.
Ancient Egyptian arithmetic depended on the binary
system.
Binary true ppt

More Related Content

What's hot (20)

Binary addition.pptx
Binary addition.pptxBinary addition.pptx
Binary addition.pptx
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
BCD.
BCD.BCD.
BCD.
 
Number system....
Number system....Number system....
Number system....
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary number
 
Number System
Number SystemNumber System
Number System
 
11 octal number system
11   octal number system11   octal number system
11 octal number system
 
Bcd
BcdBcd
Bcd
 
Binary Multiplication & Division.pptx
Binary Multiplication & Division.pptxBinary Multiplication & Division.pptx
Binary Multiplication & Division.pptx
 
Number system
Number systemNumber system
Number system
 
binary number system
 binary number system binary number system
binary number system
 
Number system
Number systemNumber system
Number system
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
 
Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1
 
Conversion of number system
Conversion of number systemConversion of number system
Conversion of number system
 
Number system
Number systemNumber system
Number system
 
Binary to Decimal Conversion
Binary to Decimal ConversionBinary to Decimal Conversion
Binary to Decimal Conversion
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 
Number systems ppt
Number systems pptNumber systems ppt
Number systems ppt
 
Quick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationQuick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representation
 

Viewers also liked (8)

Binary Arithmetic Presentation about Binary Numbers 2015
Binary Arithmetic Presentation about Binary Numbers 2015Binary Arithmetic Presentation about Binary Numbers 2015
Binary Arithmetic Presentation about Binary Numbers 2015
 
Four stroke engine-basics
Four stroke engine-basicsFour stroke engine-basics
Four stroke engine-basics
 
Four stroke engine-basics alok pandey
Four stroke engine-basics alok pandeyFour stroke engine-basics alok pandey
Four stroke engine-basics alok pandey
 
4 stroke engine
4 stroke engine4 stroke engine
4 stroke engine
 
Four stroke engine
Four stroke engineFour stroke engine
Four stroke engine
 
PLDs
PLDsPLDs
PLDs
 
Petrol engine vs diesel engine
Petrol engine vs diesel enginePetrol engine vs diesel engine
Petrol engine vs diesel engine
 
Logic gates
Logic gatesLogic gates
Logic gates
 

Similar to Binary true ppt

Computer Oraganizaation.pptx
Computer Oraganizaation.pptxComputer Oraganizaation.pptx
Computer Oraganizaation.pptxbmangesh
 
Chapter 1 number and code system sss
Chapter 1 number and code system sssChapter 1 number and code system sss
Chapter 1 number and code system sssBaia Salihin
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital ElectronicsJanki Shah
 
Dee 2034 chapter 1 number and code system (Baia)
Dee 2034 chapter 1 number and code system (Baia)Dee 2034 chapter 1 number and code system (Baia)
Dee 2034 chapter 1 number and code system (Baia)SITI SABARIAH SALIHIN
 
Physics investigatory project for class 12 logic gates
Physics investigatory project for class 12 logic gatesPhysics investigatory project for class 12 logic gates
Physics investigatory project for class 12 logic gatesbiswanath dehuri
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversionsSusantha Herath
 
Binaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemesBinaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemesDr. Anita Goel
 
21EC201– Digital Principles and system design.pptx
21EC201– Digital Principles and system design.pptx21EC201– Digital Principles and system design.pptx
21EC201– Digital Principles and system design.pptxGobinathAECEJRF1101
 
1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy
1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy
1. NUMBER SYSTEM.pptx Computer Applications in PharmacyVedika Narvekar
 
binary-numbers-system.doc.docx
binary-numbers-system.doc.docxbinary-numbers-system.doc.docx
binary-numbers-system.doc.docxArvindShukla81
 
UNIT 4 -Data Representation.pptxfghfghhggh
UNIT 4 -Data Representation.pptxfghfghhgghUNIT 4 -Data Representation.pptxfghfghhggh
UNIT 4 -Data Representation.pptxfghfghhgghKwadjoOwusuAnsahQuar
 

Similar to Binary true ppt (20)

Computer Oraganizaation.pptx
Computer Oraganizaation.pptxComputer Oraganizaation.pptx
Computer Oraganizaation.pptx
 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
DLD-Introduction.pptx
DLD-Introduction.pptxDLD-Introduction.pptx
DLD-Introduction.pptx
 
Alu1
Alu1Alu1
Alu1
 
Chapter 1 number and code system sss
Chapter 1 number and code system sssChapter 1 number and code system sss
Chapter 1 number and code system sss
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
uyuyuy.pdf
uyuyuy.pdfuyuyuy.pdf
uyuyuy.pdf
 
Dee 2034 chapter 1 number and code system (Baia)
Dee 2034 chapter 1 number and code system (Baia)Dee 2034 chapter 1 number and code system (Baia)
Dee 2034 chapter 1 number and code system (Baia)
 
Digital computer fundamentals
Digital computer fundamentalsDigital computer fundamentals
Digital computer fundamentals
 
Physics investigatory project for class 12 logic gates
Physics investigatory project for class 12 logic gatesPhysics investigatory project for class 12 logic gates
Physics investigatory project for class 12 logic gates
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
 
Binaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemesBinaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemes
 
21EC201– Digital Principles and system design.pptx
21EC201– Digital Principles and system design.pptx21EC201– Digital Principles and system design.pptx
21EC201– Digital Principles and system design.pptx
 
1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy
1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy
1. NUMBER SYSTEM.pptx Computer Applications in Pharmacy
 
binary-numbers-system.doc.docx
binary-numbers-system.doc.docxbinary-numbers-system.doc.docx
binary-numbers-system.doc.docx
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Number system
Number system  Number system
Number system
 
UNIT 4 -Data Representation.pptxfghfghhggh
UNIT 4 -Data Representation.pptxfghfghhgghUNIT 4 -Data Representation.pptxfghfghhggh
UNIT 4 -Data Representation.pptxfghfghhggh
 

More from madhuvardhan

More from madhuvardhan (20)

Mdld show-all
Mdld show-allMdld show-all
Mdld show-all
 
Dlindia
DlindiaDlindia
Dlindia
 
Dspace madhu s
Dspace madhu sDspace madhu s
Dspace madhu s
 
Ecdl2004
Ecdl2004Ecdl2004
Ecdl2004
 
Class 5-introto dl
Class 5-introto dlClass 5-introto dl
Class 5-introto dl
 
Dapsys08 dl on_grid
Dapsys08 dl on_gridDapsys08 dl on_grid
Dapsys08 dl on_grid
 
E learning
E learningE learning
E learning
 
ugc net
ugc netugc net
ugc net
 
Kumra (1)
Kumra (1)Kumra (1)
Kumra (1)
 
Print net
Print netPrint net
Print net
 
Open access
Open accessOpen access
Open access
 
Research methidology
Research methidologyResearch methidology
Research methidology
 
Style manual assingment (1)
Style manual assingment (1)Style manual assingment (1)
Style manual assingment (1)
 
lib notes
lib noteslib notes
lib notes
 
Open access (1)
Open access (1)Open access (1)
Open access (1)
 
Mc computer glossary new
Mc   computer glossary  newMc   computer glossary  new
Mc computer glossary new
 
Binding standards ms
Binding standards msBinding standards ms
Binding standards ms
 
madhu
madhumadhu
madhu
 
553 what are digital libraries
553 what are digital libraries553 what are digital libraries
553 what are digital libraries
 
Dapsys08 dl on_grid
Dapsys08 dl on_gridDapsys08 dl on_grid
Dapsys08 dl on_grid
 

Recently uploaded

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 

Recently uploaded (20)

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

Binary true ppt

  • 1. UNIVERSITY OF MYSORE MANASAGANGOTHRI SECOND SEMESTER Paper : Fundamentals of Information Technology Seminar on :Binary Numbers addition subtraction multiplication division Presented to, Dr.Chandrashekar .M Professor DOS in Library and Information Science Manasagangothri, Mysore Presented by Kanthamani H D
  • 2.  Contents  Introduction  Definition  Some Binary Arithmetic  Addition  Subtraction  ◦ Signed magnitude numbers  ◦ 2’s complement numbers  Multiplication  Division
  • 3. The binary number system is used in the computer systems. The digits 0 and 1 are combined to get different binary numbers like 1001, 11000110 etc. In a binary number, a digit 0 or 1 is called a bit. For example, 1001 is a 4- bit binary number, and, 11000110 is an 8-bit binary number. All kinds of data, be it alphabets, numbers, symbols, sound data or video data, are represented as combination of bits i.e. 0’s and 1’s. Each character is a unique combination of bits. We shall now discuss how to perform basic arithmetic operations in the binary number system.
  • 4. A binary is a system in which the number system has a number 2 as it's base. It can also pertain to a binary star which is a system of 2 stars. or Binary a numbering system that is also the language spoken by computers. It is made up of only 0s and 1s. For example, the number 37 in binary is 100101. Binary is the language of computers. Information is sent to and from the processor in the binary system which consists of only two digits (1 and 0). For example a line of ones and zeros eight digits long can represent up to 256 different values that
  • 5.  Addition  Subtraction  ◦ Signed magnitude numbers  ◦ 2’s complement numbers  Multiplication  Division
  • 6.
  • 7. Examples : Add the binary numbers 1011 and 1001. 1011 + 1001 10100 Add the binary numbers 100111 and 11011. 100111 + 11011 1000010  00011010 + 00001100 = 00100110 0 0 0 1 1 0 1 0 = 26(base 10) + 0 0 0 0 1 1 0 0 = 12(base 10) 0 0 1 0 0 1 1 0 = 38(base 10)
  • 8.  00010011 + 00111110 = 01010001 1 1 1 1 1 carries 0 0 0 1 0 0 1 1 = 19(base 10) + 0 0 1 1 1 1 1 0 = 62(base 10) 0 1 0 1 0 0 0 1 = 81(base 10) The principles of decimal subtraction can as well be applied to subtraction of numbers in other cases. It consists of two steps, which are repeated for each column of the numbers. The first step is to determine if it is necessary to borrow.
  • 9.  0 ‐ 0 = 0  0 ‐ 1 = 1, and borrow 1 from the next more significant bit  1 ‐ 0 = 1  1 ‐ 1 = 0 For example:- 00100101 ‐ 00010001 = 00010100  0 borrows 0 0 10 0 1 0 1 = 37(base 10) 0 0 0 1 0 0 0 1 = 17(base 10) 0 0 0 1 0 1 0 0 = 20(base 10)
  • 10. Complements are used in computer for the simplification of the subtraction operation. We now see, how to find the complement of a binary number. There are two types of complements for the binary number system – 1’scomplement and 2’scomplement.  1’s complement of Binary number is computed by changing the bits 1 to 0 and the bits 0 to 1. For example, 1’s complement of 110 is 001 1’s complement of 1011 is 0100 1’s complement of 1101111 is 0010000
  • 11.  2’s complement of Binary number is computed by adding 1 to the 1’s complement of the binary number. For example:- 2’s complement of 110 is 001 + 1 = 010 2’s complement of 1011 is 0100 + 1 = 0101 2’s complement of 1101111 is 0010000 + 1 = 0010001 1 1 0 1011 0 0 1 0100 + 1 + 1 0 1 0 0101
  • 12.
  • 13. Rules of Binary Multiplication  0 x 0 = 0  0 x 1 = 0  1 x 0 = 0  1 x 1 = 1, and no carry or borrow bits For example 1 1 0 0*1 0 1 0 1 1 0 0 0 0 0 0 11 0 0 0 0 0 0 0 1 1 1 1 0 0
  • 14. 1 0 1 0 * 1 1 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0
  • 15.  Binary division is also performed in the same way as we perform decimal division. Like decimal division, we also need to follow the binary subtraction rules while performing the binary division. The dividend involved in binary division should be greater than the divisor. The following are the two important points, which need to be remembered while performing the binary division. •If the remainder obtained by the division process is greater than or equal to the divisor, put 1 in the quotient and perform the binary subtraction.
  • 16.  If the remainder obtained by the division process is less than the divisor, put 0 in the quotient and append the next most significant digit from the dividend to the remainder. Binary Division Binary division is the repeated process of subtract ion, just as in decimal division. For example
  • 17.
  • 18.  1 1 0)0 0 1 0 1 0 1 0 (1 1 1 1 1 0 1 0 0 1 1 1 0 0 0 1 1 0 1 1 0 0 0 0
  • 19. The binary number system, base two, uses only two symbols, 0 and 1. Two is the smallest whole number that can be used as the base of a number system. For many years, mathematicians saw base two as a primitive system and overlooked the potential of the binary system as a tool for developing computer science and many electrical devices. Base two has several other names, including the binary positional numeration system and the dyadic system. Many civilizations have used the binary system in some form, including inhabitants of Australia, Polynesia, South America, and Africa. Ancient Egyptian arithmetic depended on the binary system.