SlideShare a Scribd company logo
1 of 22
NADEEM UDDIN
ASSOCIATE PROFESSOR
OF STATISTICS
https://www.slideshare.net/NadeemUddin17
https://nadeemstats.wordpress.com/listofbooks/
Introduction to Decimal Number System:
A positional system of numeration that uses decimal digits and a base
ten. The number system we use every day, based on 10 digits
(0,1,2,3,4,5,6,7,8,9) position is important.The decimal numeral
system (also called base ten or occasionally denary) has ten as its
base. It is the numeral base most widely used by modern civilizations.
Binary Number System:
A method of representing number that has 2 as its base and uses only
the digits 0 and 1.Number system that uses only two values (0,1) to
represent codes and data. Since zeros and ones can be easily
represented by two voltages. The binary system is the foundation on
which digital technology is built. Every digital computer whether a
pocket calculator or a mainframe uses the same binary notation.
2 123
2 61 1
2 30 1
2 15 0
2 7 1
2 3 1
1 1
Example -1 Decimal to Binary
(123)10 = (1111011)2
Example-2 Decimal Fraction to Binary Fraction
0
.
0.3125
x 2
0
6250
x 2
1
2500
x 2
0
5000
x 2
1 0000
(0.3125)10 = (0.0101)2
Example -3 Binary to Decimal
1001001 = 1 x 26 + 0 x 25 + 0 x 24 + 1 x 23 + 0 x 22 + 0 x 21 + 1x20
1001001 = 1 x 64 + 0 x 32 + 0 x 16 + 1 x 8 + 0 x 4 + 0 x 2 + 1 x 1
1001001 = 64 + 0 + 0 + 8 + 0 + 0 + 1
(1001001)2 = (73)10
Example -4 Binary Fraction to Decimal Fraction
0.0011 = 0 x 2-1 + 0 x 2-2 + 1 x 2-3 + 1 x 2-4
1 1 1 1
0 0 1 1
2 3 42 2 2 2
1 1 1 1
0 0 1 1
2 4 8 16
1 1
0 0
8 16
1 1
8 16
2 1
16
3
16
      
      
  


= 0.1875
(0.0011)2 = (0.1875)10
Addition Facts:
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 10 with a carry of 1
1+1+1 = 11
Example – 5 110101 + 11011
Solution:
1 1 0 1 0 1
+ 1 1 0 1 1
1 0 1 0 0 0 0
Example-6 1 0 1 1 1 1 + 1 1 0 1 0 1 + 1 0 1 1 0 1
Solution:
1 0 1 1 1 1
+ 1 1 0 1 0 1
11 0 0 1 0 0
+ 1 0 1 1 0 1
10 0 1 0 0 0 1
Subtraction Facts:
0 - 0 = 0
1 - 0 = 1
1 -1 = 0
Example-7
1 1 0 – 1 0
Solution:
1 1 0
- 1 0
1 0 0
Example-8 1 1 1 0 0 1 1 1 – 1 1 1 1 1 1 1
Solution:
1 1 1 0 0 1 1 1
- 1 1 1 1 1 1 1
1 1 0 1 0 0 0
Example-9 1 0 1 0 1 0 0 1 – 1 0 1 1 0 1
Solution:
1 0 1 0 1 0 0 1
- 1 0 1 1 0 1
1 1 1 1 1 0 0
Multiplication Facts:
0 x 0 = 0
0 x 1 = 0
1 x 0 = 0
1 x 1 = 1
Example-10: 1 1 0 1 x 1 0 0
Solution:
1 1 0 1
x 1 0 0
0 0 0 0
0 0 0 0 x
1 1 0 1 x x
1 1 0 1 0 0
Example-11: 1 1 0 0 1 x 1 0 0 1
Solution:
1 1 0 0 1
x 1 0 0 1
1 1 0 0 1
0 0 0 0 0 x
0 0 0 0 0 x x
1 1 0 0 1 x x x
1 1 1 0 0 0 0 1
Division Facts:
0 ÷ 1 = 0
1 ÷ 1 = 1
Example-12:
Solution:
1 0 1 0 1 0 ÷ 1 1 0
111
110 101010
11 0
10 0 1
1 1 0
1 1 0
1 1 0
x x x
1 0 1 0 1 0 = 1 1 1
1 1 0
Example-13: 1 0 0 0 0 1 1 1 ÷ 1 0 1
11011
101 10000111
1 0 1
0 0 1 1 0
1 0 1
0 0 1 1 1
1 0 1
1 0 1
1 0 1
x
1 0 0 0 0 1 1 1 = 1 1 0 1 1
1 0 1
Solution:
Example-14: 1 0 0 0 0 1 ÷ 1 1
Solution:
1011
11 100001
1 1
1 0 0
1 1
1 1
1 1
x
1 0 0 0 0 1 = 1011
1 1
Exercise-1.1
1. Convert the following decimal numbers into equivalent binary
numbers.
i) 32 ii) 57 iii) 67
iv) 89 v) 185 vi) 369
vii) 412 viii) 567 ix) 1853
x) 3922
2. Convert the following decimal fraction into equivalent binary
fractions.
i) 0.125 ii) 0.625 iii) 0.5625
iv) 0.859375 v) 0.078125
3. Convert the following binary numbers into equivalent decimal
numbers.
i) 101 ii) 1000 iii) 1001
iv) 1011 v) 1100 vi) 100001
vii) 1000001 viii) 1010001 ix) 10011101
x) 111000011
4. Convert the following binary fraction into decimal fractions.
i) 0.001 ii) 0.101 iii) 0.1001
iv) 0.110111 v) 0.000101
5. Convert the following decimal into binary fractions.
i) 25.125 ii) 412.5625
6. Convert the following binary into decimal fractions.
i) 111001.101 ii) 10111001.000101
7. Add the following binary numbers.
i) 10101 + 1101 vi) 111 +101 +10
ii) 10110 +11011 vii) 1011101 +111011 + 10111
iii) 10011 + 10101 viii) 110110 +101101+ 10101
iv) 10101 + 1101 ix) 1010101 + 110110 + 10010
v) 10111 +10101 x) 1110111 + 100101 + 111110
8. Subtract the following binary numbers.
i) 1110 – 101 iv) 110101 – 10011
ii) 100101 – 11010 v) 1100001 – 11110
iii) 11011 – 1010
9. Perform the following multiplication.
i) 101 x 11 iii) 10110 x 1101
ii) 1100 x 1110 iv) 1011 x 110
v) 11010 x 10110
10. Perform the following division.
i) 11001 ÷ 101 iv) 1111110 ÷ 111
ii) 11110 ÷ 1010 v) 110010 ÷ 101
iii) 11011 ÷10
ANSWERS EXERCISE-1.1
1.
i)100000 vi)101110001
ii)111001 vii)110011100
iii)1000011 viii)1000110111
iv)1011001 ix)11100111101
v)10111001 x)111101010010
2.
i)0.001 iii)0.1001
ii)0.101 iv)0.110111
v)0.000101
3.
i)5 vi)33
ii)8 vii)65
iii)9 viii)81
iv)11 ix)157
v)12 x)451
4.
i)0.125 iv)0.859375
ii) o.625 v)0.078125
iii)o.5625
5.
i)11001.001
ii)110011100.1001 6.i)57.625 ii)185.078125
7.
i)100010 vi)1110
ii)110001 vii)10101111
iii)101000 viii)1111000
iv)100010 ix)10011101
v)101100 x)11011010
8.
i)1001 iii)10001
ii)1011 iv)100010
v)1000011
9.
i)1111 iii)100011110
ii)10101000 iv)1000010
v)1000111100
10.
i)101 iii)1101.1
ii)11 iv)10010
v)1010

More Related Content

What's hot

What's hot (20)

Number system
Number systemNumber system
Number system
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
1s and 2s complement
1s and 2s complement1s and 2s complement
1s and 2s complement
 
Basic of number system
Basic of number systemBasic of number system
Basic of number system
 
Number system and codes
Number system and codesNumber system and codes
Number system and codes
 
Binaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemesBinaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemes
 
Number system....
Number system....Number system....
Number system....
 
Binary to Decimal Conversion
Binary to Decimal ConversionBinary to Decimal Conversion
Binary to Decimal Conversion
 
Number System
Number SystemNumber System
Number System
 
Octal COnversion
Octal COnversionOctal COnversion
Octal COnversion
 
Binary Arithmetic Operations
Binary Arithmetic OperationsBinary Arithmetic Operations
Binary Arithmetic Operations
 
Binary system ppt
Binary system pptBinary system ppt
Binary system ppt
 
Number system
Number systemNumber system
Number system
 
Chapter 1: Binary System
 Chapter 1: Binary System Chapter 1: Binary System
Chapter 1: Binary System
 
Binary Multiplication & Division.pptx
Binary Multiplication & Division.pptxBinary Multiplication & Division.pptx
Binary Multiplication & Division.pptx
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
 
Conversion of number system
Conversion of number systemConversion of number system
Conversion of number system
 
1's and 2's complement
1's and 2's complement 1's and 2's complement
1's and 2's complement
 
Number system conversion
Number system conversionNumber system conversion
Number system conversion
 

Similar to Binary number system

Binary Mathematics Classwork and Hw
Binary Mathematics Classwork and HwBinary Mathematics Classwork and Hw
Binary Mathematics Classwork and HwJoji Thompson
 
2.1 data represent on cpu
2.1 data represent on cpu2.1 data represent on cpu
2.1 data represent on cpuWan Afirah
 
Lesson plan on data representation
Lesson plan on data representationLesson plan on data representation
Lesson plan on data representationPooja Tripathi
 
Chapter 6 base_number
Chapter 6 base_numberChapter 6 base_number
Chapter 6 base_numberNazrul Shah
 
Data types - things you have to know!
Data types - things you have to know!Data types - things you have to know!
Data types - things you have to know!Karol Sobiesiak
 
Video lectures
Video lecturesVideo lectures
Video lecturesEdhole.com
 
chapter1digitalsystemsandbinarynumbers-151021072016-lva1-app6891.pptx
chapter1digitalsystemsandbinarynumbers-151021072016-lva1-app6891.pptxchapter1digitalsystemsandbinarynumbers-151021072016-lva1-app6891.pptx
chapter1digitalsystemsandbinarynumbers-151021072016-lva1-app6891.pptxSurendra Loya
 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptxamudhak10
 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptxamudhak10
 
Lecture4 binary-numbers-logic-operations
Lecture4  binary-numbers-logic-operationsLecture4  binary-numbers-logic-operations
Lecture4 binary-numbers-logic-operationsmarkme18
 
Digital Fundamental Learning for the Students
Digital Fundamental Learning for the StudentsDigital Fundamental Learning for the Students
Digital Fundamental Learning for the Studentsshaival
 
01.number systems
01.number systems01.number systems
01.number systemsrasha3
 
Binary octal
Binary octalBinary octal
Binary octaldrdipo4
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1Deepak John
 
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
 
Chapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbersChapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbersMohammad Bashartullah
 

Similar to Binary number system (20)

Binary Mathematics Classwork and Hw
Binary Mathematics Classwork and HwBinary Mathematics Classwork and Hw
Binary Mathematics Classwork and Hw
 
2.1 data represent on cpu
2.1 data represent on cpu2.1 data represent on cpu
2.1 data represent on cpu
 
Lesson plan on data representation
Lesson plan on data representationLesson plan on data representation
Lesson plan on data representation
 
Chapter 6 base_number
Chapter 6 base_numberChapter 6 base_number
Chapter 6 base_number
 
NUMBER BASE SYSTEM.pptx
NUMBER BASE SYSTEM.pptxNUMBER BASE SYSTEM.pptx
NUMBER BASE SYSTEM.pptx
 
Data types - things you have to know!
Data types - things you have to know!Data types - things you have to know!
Data types - things you have to know!
 
Video lectures
Video lecturesVideo lectures
Video lectures
 
Mba ebooks
Mba ebooksMba ebooks
Mba ebooks
 
Number systems tutorial
Number systems tutorialNumber systems tutorial
Number systems tutorial
 
chapter1digitalsystemsandbinarynumbers-151021072016-lva1-app6891.pptx
chapter1digitalsystemsandbinarynumbers-151021072016-lva1-app6891.pptxchapter1digitalsystemsandbinarynumbers-151021072016-lva1-app6891.pptx
chapter1digitalsystemsandbinarynumbers-151021072016-lva1-app6891.pptx
 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptx
 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptx
 
Lecture4 binary-numbers-logic-operations
Lecture4  binary-numbers-logic-operationsLecture4  binary-numbers-logic-operations
Lecture4 binary-numbers-logic-operations
 
Digital Fundamental Learning for the Students
Digital Fundamental Learning for the StudentsDigital Fundamental Learning for the Students
Digital Fundamental Learning for the Students
 
DIGITAL ELECTRONICS.pptx
DIGITAL ELECTRONICS.pptxDIGITAL ELECTRONICS.pptx
DIGITAL ELECTRONICS.pptx
 
01.number systems
01.number systems01.number systems
01.number systems
 
Binary octal
Binary octalBinary octal
Binary octal
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1
 
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
 
Chapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbersChapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbers
 

More from Nadeem Uddin

A corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdfA corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdfNadeem Uddin
 
A question paper is divided into three groups A.docx
A question paper is divided into three groups A.docxA question paper is divided into three groups A.docx
A question paper is divided into three groups A.docxNadeem Uddin
 
If on the average the rain falls on twelve days in every thirty day.docx
If on the average  the rain falls on twelve days in every thirty day.docxIf on the average  the rain falls on twelve days in every thirty day.docx
If on the average the rain falls on twelve days in every thirty day.docxNadeem Uddin
 
If on the average the rain falls on twelve days in every thirty days.docx
If on the average  the rain falls on twelve days in every thirty days.docxIf on the average  the rain falls on twelve days in every thirty days.docx
If on the average the rain falls on twelve days in every thirty days.docxNadeem Uddin
 
If A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docxIf A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docxNadeem Uddin
 
If A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docxIf A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docxNadeem Uddin
 
Suppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docxSuppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docxNadeem Uddin
 
Three men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docxThree men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docxNadeem Uddin
 
Two men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docxTwo men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docxNadeem Uddin
 
For the following venn diagram.docx
For the following venn diagram.docxFor the following venn diagram.docx
For the following venn diagram.docxNadeem Uddin
 
A group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docxA group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docxNadeem Uddin
 
In a survey of 100 participants.docx
In a survey of 100 participants.docxIn a survey of 100 participants.docx
In a survey of 100 participants.docxNadeem Uddin
 
Probability by venn diagram.docx
Probability by venn diagram.docxProbability by venn diagram.docx
Probability by venn diagram.docxNadeem Uddin
 
A bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docxA bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docxNadeem Uddin
 
Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...Nadeem Uddin
 
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docxA man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docxNadeem Uddin
 
The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...Nadeem Uddin
 
The probability that three men hit a target are respectively 1.docx
The probability that  three men hit a target are respectively 1.docxThe probability that  three men hit a target are respectively 1.docx
The probability that three men hit a target are respectively 1.docxNadeem Uddin
 
In a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docxIn a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docxNadeem Uddin
 
The probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docxThe probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docxNadeem Uddin
 

More from Nadeem Uddin (20)

A corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdfA corporation has 15 salesmen.pdf
A corporation has 15 salesmen.pdf
 
A question paper is divided into three groups A.docx
A question paper is divided into three groups A.docxA question paper is divided into three groups A.docx
A question paper is divided into three groups A.docx
 
If on the average the rain falls on twelve days in every thirty day.docx
If on the average  the rain falls on twelve days in every thirty day.docxIf on the average  the rain falls on twelve days in every thirty day.docx
If on the average the rain falls on twelve days in every thirty day.docx
 
If on the average the rain falls on twelve days in every thirty days.docx
If on the average  the rain falls on twelve days in every thirty days.docxIf on the average  the rain falls on twelve days in every thirty days.docx
If on the average the rain falls on twelve days in every thirty days.docx
 
If A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docxIf A and B play a game in which the probability that A wins is (2).docx
If A and B play a game in which the probability that A wins is (2).docx
 
If A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docxIf A and B play a game in which the probability that A wins is.docx
If A and B play a game in which the probability that A wins is.docx
 
Suppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docxSuppose you are eating at cafeteria with two friends.docx
Suppose you are eating at cafeteria with two friends.docx
 
Three men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docxThree men toss in succession for a prize to be given to the one.docx
Three men toss in succession for a prize to be given to the one.docx
 
Two men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docxTwo men A and B toss in succession for a prize to be given to the one.docx
Two men A and B toss in succession for a prize to be given to the one.docx
 
For the following venn diagram.docx
For the following venn diagram.docxFor the following venn diagram.docx
For the following venn diagram.docx
 
A group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docxA group of 50 people was asked of three newspapers.docx
A group of 50 people was asked of three newspapers.docx
 
In a survey of 100 participants.docx
In a survey of 100 participants.docxIn a survey of 100 participants.docx
In a survey of 100 participants.docx
 
Probability by venn diagram.docx
Probability by venn diagram.docxProbability by venn diagram.docx
Probability by venn diagram.docx
 
A bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docxA bag contains 6 red and 4 black balls.docx
A bag contains 6 red and 4 black balls.docx
 
Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...Suppose that the probability is 0.8 that any given person will believe a tale...
Suppose that the probability is 0.8 that any given person will believe a tale...
 
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docxA man draws 2 balls from a bag containing 3 white and 5 black balls.docx
A man draws 2 balls from a bag containing 3 white and 5 black balls.docx
 
The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...The probability that a candidate passes a certain professional examination is...
The probability that a candidate passes a certain professional examination is...
 
The probability that three men hit a target are respectively 1.docx
The probability that  three men hit a target are respectively 1.docxThe probability that  three men hit a target are respectively 1.docx
The probability that three men hit a target are respectively 1.docx
 
In a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docxIn a survey of a group of people the following results are obtained.docx
In a survey of a group of people the following results are obtained.docx
 
The probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docxThe probability that a student passes mathematics is 2.docx
The probability that a student passes mathematics is 2.docx
 

Recently uploaded

Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Recently uploaded (20)

Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

Binary number system

  • 1. NADEEM UDDIN ASSOCIATE PROFESSOR OF STATISTICS https://www.slideshare.net/NadeemUddin17 https://nadeemstats.wordpress.com/listofbooks/
  • 2. Introduction to Decimal Number System: A positional system of numeration that uses decimal digits and a base ten. The number system we use every day, based on 10 digits (0,1,2,3,4,5,6,7,8,9) position is important.The decimal numeral system (also called base ten or occasionally denary) has ten as its base. It is the numeral base most widely used by modern civilizations. Binary Number System: A method of representing number that has 2 as its base and uses only the digits 0 and 1.Number system that uses only two values (0,1) to represent codes and data. Since zeros and ones can be easily represented by two voltages. The binary system is the foundation on which digital technology is built. Every digital computer whether a pocket calculator or a mainframe uses the same binary notation.
  • 3. 2 123 2 61 1 2 30 1 2 15 0 2 7 1 2 3 1 1 1 Example -1 Decimal to Binary (123)10 = (1111011)2
  • 4. Example-2 Decimal Fraction to Binary Fraction 0 . 0.3125 x 2 0 6250 x 2 1 2500 x 2 0 5000 x 2 1 0000 (0.3125)10 = (0.0101)2
  • 5. Example -3 Binary to Decimal 1001001 = 1 x 26 + 0 x 25 + 0 x 24 + 1 x 23 + 0 x 22 + 0 x 21 + 1x20 1001001 = 1 x 64 + 0 x 32 + 0 x 16 + 1 x 8 + 0 x 4 + 0 x 2 + 1 x 1 1001001 = 64 + 0 + 0 + 8 + 0 + 0 + 1 (1001001)2 = (73)10
  • 6. Example -4 Binary Fraction to Decimal Fraction 0.0011 = 0 x 2-1 + 0 x 2-2 + 1 x 2-3 + 1 x 2-4 1 1 1 1 0 0 1 1 2 3 42 2 2 2 1 1 1 1 0 0 1 1 2 4 8 16 1 1 0 0 8 16 1 1 8 16 2 1 16 3 16                    = 0.1875 (0.0011)2 = (0.1875)10
  • 7. Addition Facts: 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 10 with a carry of 1 1+1+1 = 11 Example – 5 110101 + 11011 Solution: 1 1 0 1 0 1 + 1 1 0 1 1 1 0 1 0 0 0 0
  • 8. Example-6 1 0 1 1 1 1 + 1 1 0 1 0 1 + 1 0 1 1 0 1 Solution: 1 0 1 1 1 1 + 1 1 0 1 0 1 11 0 0 1 0 0 + 1 0 1 1 0 1 10 0 1 0 0 0 1
  • 9. Subtraction Facts: 0 - 0 = 0 1 - 0 = 1 1 -1 = 0 Example-7 1 1 0 – 1 0 Solution: 1 1 0 - 1 0 1 0 0
  • 10. Example-8 1 1 1 0 0 1 1 1 – 1 1 1 1 1 1 1 Solution: 1 1 1 0 0 1 1 1 - 1 1 1 1 1 1 1 1 1 0 1 0 0 0 Example-9 1 0 1 0 1 0 0 1 – 1 0 1 1 0 1 Solution: 1 0 1 0 1 0 0 1 - 1 0 1 1 0 1 1 1 1 1 1 0 0
  • 11. Multiplication Facts: 0 x 0 = 0 0 x 1 = 0 1 x 0 = 0 1 x 1 = 1 Example-10: 1 1 0 1 x 1 0 0 Solution: 1 1 0 1 x 1 0 0 0 0 0 0 0 0 0 0 x 1 1 0 1 x x 1 1 0 1 0 0
  • 12. Example-11: 1 1 0 0 1 x 1 0 0 1 Solution: 1 1 0 0 1 x 1 0 0 1 1 1 0 0 1 0 0 0 0 0 x 0 0 0 0 0 x x 1 1 0 0 1 x x x 1 1 1 0 0 0 0 1
  • 13. Division Facts: 0 ÷ 1 = 0 1 ÷ 1 = 1 Example-12: Solution: 1 0 1 0 1 0 ÷ 1 1 0 111 110 101010 11 0 10 0 1 1 1 0 1 1 0 1 1 0 x x x 1 0 1 0 1 0 = 1 1 1 1 1 0
  • 14. Example-13: 1 0 0 0 0 1 1 1 ÷ 1 0 1 11011 101 10000111 1 0 1 0 0 1 1 0 1 0 1 0 0 1 1 1 1 0 1 1 0 1 1 0 1 x 1 0 0 0 0 1 1 1 = 1 1 0 1 1 1 0 1 Solution:
  • 15. Example-14: 1 0 0 0 0 1 ÷ 1 1 Solution: 1011 11 100001 1 1 1 0 0 1 1 1 1 1 1 x 1 0 0 0 0 1 = 1011 1 1
  • 16. Exercise-1.1 1. Convert the following decimal numbers into equivalent binary numbers. i) 32 ii) 57 iii) 67 iv) 89 v) 185 vi) 369 vii) 412 viii) 567 ix) 1853 x) 3922 2. Convert the following decimal fraction into equivalent binary fractions. i) 0.125 ii) 0.625 iii) 0.5625 iv) 0.859375 v) 0.078125 3. Convert the following binary numbers into equivalent decimal numbers. i) 101 ii) 1000 iii) 1001 iv) 1011 v) 1100 vi) 100001 vii) 1000001 viii) 1010001 ix) 10011101 x) 111000011
  • 17. 4. Convert the following binary fraction into decimal fractions. i) 0.001 ii) 0.101 iii) 0.1001 iv) 0.110111 v) 0.000101 5. Convert the following decimal into binary fractions. i) 25.125 ii) 412.5625 6. Convert the following binary into decimal fractions. i) 111001.101 ii) 10111001.000101
  • 18. 7. Add the following binary numbers. i) 10101 + 1101 vi) 111 +101 +10 ii) 10110 +11011 vii) 1011101 +111011 + 10111 iii) 10011 + 10101 viii) 110110 +101101+ 10101 iv) 10101 + 1101 ix) 1010101 + 110110 + 10010 v) 10111 +10101 x) 1110111 + 100101 + 111110 8. Subtract the following binary numbers. i) 1110 – 101 iv) 110101 – 10011 ii) 100101 – 11010 v) 1100001 – 11110 iii) 11011 – 1010
  • 19. 9. Perform the following multiplication. i) 101 x 11 iii) 10110 x 1101 ii) 1100 x 1110 iv) 1011 x 110 v) 11010 x 10110 10. Perform the following division. i) 11001 ÷ 101 iv) 1111110 ÷ 111 ii) 11110 ÷ 1010 v) 110010 ÷ 101 iii) 11011 ÷10
  • 20. ANSWERS EXERCISE-1.1 1. i)100000 vi)101110001 ii)111001 vii)110011100 iii)1000011 viii)1000110111 iv)1011001 ix)11100111101 v)10111001 x)111101010010 2. i)0.001 iii)0.1001 ii)0.101 iv)0.110111 v)0.000101 3. i)5 vi)33 ii)8 vii)65 iii)9 viii)81 iv)11 ix)157 v)12 x)451
  • 21. 4. i)0.125 iv)0.859375 ii) o.625 v)0.078125 iii)o.5625 5. i)11001.001 ii)110011100.1001 6.i)57.625 ii)185.078125 7. i)100010 vi)1110 ii)110001 vii)10101111 iii)101000 viii)1111000 iv)100010 ix)10011101 v)101100 x)11011010 8. i)1001 iii)10001 ii)1011 iv)100010 v)1000011