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 (20)

Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary number
 
Binary to Decimal Conversion
Binary to Decimal ConversionBinary to Decimal Conversion
Binary to Decimal Conversion
 
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
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Binary addition.pptx
Binary addition.pptxBinary addition.pptx
Binary addition.pptx
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
BCD.
BCD.BCD.
BCD.
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
Number system and codes
Number system and codesNumber system and codes
Number system and codes
 
Binary codes
Binary codesBinary codes
Binary codes
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
 
1's and 2's complement
1's and 2's complement 1's and 2's complement
1's and 2's complement
 
Chapter 1: Binary System
 Chapter 1: Binary System Chapter 1: Binary System
Chapter 1: Binary System
 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
 
Bcd
BcdBcd
Bcd
 
Conversion binary to decimal
Conversion binary to decimalConversion binary to decimal
Conversion binary to decimal
 
Number System in CoMpUtEr
Number System in CoMpUtErNumber System in CoMpUtEr
Number System in CoMpUtEr
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
1s and 2s complement
1s and 2s complement1s and 2s complement
1s and 2s complement
 
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
 

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
 
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
 
digital-electronics.pptx
digital-electronics.pptxdigital-electronics.pptx
digital-electronics.pptxsulekhasaxena2
 

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
 
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
 
digital-electronics.pptx
digital-electronics.pptxdigital-electronics.pptx
digital-electronics.pptx
 

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

Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
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
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 

Recently uploaded (20)

Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
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🔝
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 

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