SlideShare une entreprise Scribd logo
1  sur  29
5/30/2019 1
Samina khan
FDC Risalpur
• Chapter 1 Data –Processing Cycle
• Chapter 2 Binary Computing
• Chapter 3 System Software
• Chapter 4 Application Software
• Chapter 5 More on Word
• Chapter 6 More on Spreadsheets
• Chapter 7 Algorithms and Flow charts
• Chapter 8 Introduction to Programming Languages
• Chapter 9 Computer Networks
• Chapter 10 The Internet
• Chapter 11 Communicating through Email
5/30/2019
2
CHAPTER 2
Objectives
• Explain the nature of digital data and binary data.
• introduce number systems as a set of rules for
representing data using numbers
• explain the decimal, binary, octal, and hexadecimal
number systems
• explain the conversion of decimal numbers into binary
numbers and vice versa
• explain the addition and subtraction of binary numbers
• explain data storage in terms of bits and bytes
5/30/2019 4
The Computer: A digital machine
• Computers are electronic machines.
• They understand data in a digital form.
• Computers need to translate data from analog to
digital.
Forms of data
• Data is a collection of raw facts and figures
• It is often meaningless
• There are different forms of data
1. Numeric data
2. Alphabetic data
3. Alphanumeric data
Digital data
• When data is processed , we get the information
• Computers process data after converting it into a
digital form
Binary states
• Bi means two
• In case of current flow we have only two
situations: either current flows or not flow
• These two situations are represented by 0 & 1
• Binary state ON=1 Binary state OFF=0
• The same situation we can observe in memory
unit of a processor.
• Whenever we press a key on keyboard,
electronic signals are sent to the processor.
• The processor understand these signals and
process them.
• But human cannot see the electric current.
• This is why we represent these signals as 1s
and 0s
• Data in the form of 1s & 0s is called binary
data.
Input Data Binary Data
10 1010
2 10
12 1100
Number Systems
• We use numbers to mean different things.
• We use the digits 0-9 to represent small
numbers like 2 & 5 , and large numbers like 5900
& 99723.
• This system uses 10 digits , it is called decimal
number system.
• There is another number system having 2 digits
0& 1, called binary number system.
Decimal Binary
10 1010
Types of number Systems
• There are several number systems but four are
most commonly used. These are:
1. The decimal number system
2. The binary number system
3. The octal number system
4. The hexadecimal number system
The decimal number System
• The decimal number system, or Base 10 system
is based on ten digits(0,1,2,3,4,5,6,7,8,9)
• These digits are combined in different ways to
represent different values.
• For Example: (10)10
The binary number System
• The binary number system, or Base 2 system is
based on 2 digits(0 &1)
• These digits are combined in different ways to
represent different values.
• For Example: (10)2
The octal number System
• The octal number system, or Base 8 system is
based on 8 digits(0,1,2,3,4,5,6 &7)
• These digits are combined in different ways to
represent different values.
• For Example: (12)8
The hexadecimal number System
• The hexadecimal number system, or Base 16
system is based on 16 digits(0,1,2,3,4,5,6,7,8,9 &
the letters A,B,C,D,E,F)
• These digits are combined in different ways to
represent different values.
• For Example: (A)16
Characters
• Characters are the alphabet keys, number keys and
special keys on the keyboard.
• These are what you see on the keyboard.
• When we press a key on the keyboard, each
character is converted into a unique pattern of 1s &
0s.
• For Example:
Decimal system Binary system
65 01000001
97 01100001
Binary coding scheme
• Binary coding schemes are used to convert
characters into binary form and vice versa.
• There are three coding scheme in common use.
1. The ASCII code
2. EBCDIC code
3. Unicode
1. The ASCII code
• ASCII stands for American Standard Code for
Information Interchange
2. The EBCDIC code
• EBCDIC stands for Extended Binary Coded
Decimal Interchange Code.
• It is used in mainframe computers.
3. Unicode
• It was developed in 1990s.
• It developed codes for a large number of
characters including Chinese and Japanese one.
• It is commonly used code to store data on
microcomputers after surpassing ASCII.
Conversion of number systems
• We can convert data represented under one
number system into other number system.
• We can convert decimal numbers into binary
number and vice versa.
Conversion of decimal numbers into binary
• To convert a decimal number into binary ,we use
the repeated division method.
Number Remainder
2 39
2 19 1
2 9 1
2 4 1
2 2 0
1 0
Conversion of binary numbers into decimal
• To convert a binary number into decimal ,we use
the expansion method.
• Convert (100111)2 into decimal
= (1x25)+(0x24) +(0x23) +(1x22) +(1x21) +(1x20)
=(1x32)+(0x16)+(0x8)+(1x4)+(1x2)+(1x1)
=32+0+0+4+2+1
=(39)10
Arithmetical operations using binary
numbers
• Binary arithmetic is performed in the same
manner as decimal arithmetic.
• The two basic binary arithmetic operations are:
1. Binary addition
2. Binary subtraction
Binary addition
• Binary system is based on only two digits 0 & 1
so its rule of addition is different from decimal
addition.
Operation Result
0+0 0
0+1 1
1+0 1
1+1 0 with 1 carried over to the next higher column
Binary addition
0 1 0 1 1 1 0 1
+ 0 0 1 1 0 0 1 0
1 0 0 0 1 1 1 1
Binary subtraction
• Binary subtraction is similar to the subtraction of
decimal numbers.
Operation Result
0-0 0
0-1 1 with 1 borrowed from the next position
1-0 1
1-1 0
Binary subtraction
1 1
1 01 0 1 1 01 0 1
- 0 0 1 1 0 0 1 0
1 0 0 0 1 0 0 1
Binary computing

Contenu connexe

Tendances (20)

Binary to Decimal Conversion
Binary to Decimal ConversionBinary to Decimal Conversion
Binary to Decimal Conversion
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and Flowcharts
 
Number system
Number systemNumber system
Number system
 
Number system
Number systemNumber system
Number system
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
Number system....
Number system....Number system....
Number system....
 
Number system and its conversions
Number system and its conversionsNumber system and its conversions
Number system and its conversions
 
Number System in CoMpUtEr
Number System in CoMpUtErNumber System in CoMpUtEr
Number System in CoMpUtEr
 
Introduction to c++ ppt
Introduction to c++ pptIntroduction to c++ ppt
Introduction to c++ ppt
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
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
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
 
Introduction to the Binary Number System
Introduction to the Binary Number SystemIntroduction to the Binary Number System
Introduction to the Binary Number System
 
Number system
Number systemNumber system
Number system
 
Computer keyboard basics
Computer keyboard basicsComputer keyboard basics
Computer keyboard basics
 
Sorting
SortingSorting
Sorting
 
Conversion of number system
Conversion of number systemConversion of number system
Conversion of number system
 
binary number system
 binary number system binary number system
binary number system
 
Number system with conversions www.eakanchha.com
Number system with conversions www.eakanchha.comNumber system with conversions www.eakanchha.com
Number system with conversions www.eakanchha.com
 
Number System
Number SystemNumber System
Number System
 

Similaire à Binary computing

Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionMubashir Ali
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptxLibanMohamed26
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsshivas379526
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptxHamnaKhalid25
 
digital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxdigital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxabelllll
 
Decimal to Binary Conversion
Decimal to Binary ConversionDecimal to Binary Conversion
Decimal to Binary ConversionMac Mac
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptxoptimuspc05
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxmust322322
 
Number system...this ppt specially help BTech 2nd year ECE department
Number system...this ppt specially help BTech 2nd year ECE departmentNumber system...this ppt specially help BTech 2nd year ECE department
Number system...this ppt specially help BTech 2nd year ECE departmentAnupamBiswas67
 
Module-1_Part_1 (1).pptx
Module-1_Part_1 (1).pptxModule-1_Part_1 (1).pptx
Module-1_Part_1 (1).pptxkumarloresh143
 

Similaire à Binary computing (20)

DLD-unit-1(2022).pdf
DLD-unit-1(2022).pdfDLD-unit-1(2022).pdf
DLD-unit-1(2022).pdf
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
digital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxdigital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptx
 
lect1.ppt
lect1.pptlect1.ppt
lect1.ppt
 
Decimal to Binary Conversion
Decimal to Binary ConversionDecimal to Binary Conversion
Decimal to Binary Conversion
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Acem numbersystem
Acem numbersystemAcem numbersystem
Acem numbersystem
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptx
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Numbering System Base Conversion
Numbering System Base ConversionNumbering System Base Conversion
Numbering System Base Conversion
 
Number system...this ppt specially help BTech 2nd year ECE department
Number system...this ppt specially help BTech 2nd year ECE departmentNumber system...this ppt specially help BTech 2nd year ECE department
Number system...this ppt specially help BTech 2nd year ECE department
 
Module-1_Part_1 (1).pptx
Module-1_Part_1 (1).pptxModule-1_Part_1 (1).pptx
Module-1_Part_1 (1).pptx
 
12117188.ppt
12117188.ppt12117188.ppt
12117188.ppt
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
12117188.ppt
12117188.ppt12117188.ppt
12117188.ppt
 
1. basic theories of information
1. basic theories of information1. basic theories of information
1. basic theories of information
 

Plus de samina khan

UNDERSTANDING SELF AND OTHERS.pptx
UNDERSTANDING SELF AND OTHERS.pptxUNDERSTANDING SELF AND OTHERS.pptx
UNDERSTANDING SELF AND OTHERS.pptxsamina khan
 
INFORMATION TECHNOLOGY.pptx
INFORMATION TECHNOLOGY.pptxINFORMATION TECHNOLOGY.pptx
INFORMATION TECHNOLOGY.pptxsamina khan
 
scaffolding in teaching.pptx
scaffolding in teaching.pptxscaffolding in teaching.pptx
scaffolding in teaching.pptxsamina khan
 
REFLECTIVE TEACHING.pptx
REFLECTIVE TEACHING.pptxREFLECTIVE TEACHING.pptx
REFLECTIVE TEACHING.pptxsamina khan
 
PEDAGOGICAL SKILLS.pptx
PEDAGOGICAL SKILLS.pptxPEDAGOGICAL SKILLS.pptx
PEDAGOGICAL SKILLS.pptxsamina khan
 
What is an Autobiography?
 What is an Autobiography? What is an Autobiography?
What is an Autobiography?samina khan
 
Picture description
Picture descriptionPicture description
Picture descriptionsamina khan
 
The Internet and World Wide Web
The Internet and World Wide WebThe Internet and World Wide Web
The Internet and World Wide Websamina khan
 
Computer security & ethics
Computer security  & ethicsComputer security  & ethics
Computer security & ethicssamina khan
 
Computer logic and gates
Computer logic and gatesComputer logic and gates
Computer logic and gatessamina khan
 
Computer networks
Computer networksComputer networks
Computer networkssamina khan
 
Classroom management
Classroom managementClassroom management
Classroom managementsamina khan
 
More on number system
More on number systemMore on number system
More on number systemsamina khan
 
Stress management
Stress managementStress management
Stress managementsamina khan
 
Classroom management
Classroom managementClassroom management
Classroom managementsamina khan
 
The future of technology
The future of technologyThe future of technology
The future of technologysamina khan
 
Lesson plan:Multiplication and division of binary numbers
Lesson plan:Multiplication and division of binary numbersLesson plan:Multiplication and division of binary numbers
Lesson plan:Multiplication and division of binary numberssamina khan
 
Computer networks grade 7
Computer networks grade 7Computer networks grade 7
Computer networks grade 7samina khan
 
Applications of computer
Applications of computerApplications of computer
Applications of computersamina khan
 

Plus de samina khan (20)

UNDERSTANDING SELF AND OTHERS.pptx
UNDERSTANDING SELF AND OTHERS.pptxUNDERSTANDING SELF AND OTHERS.pptx
UNDERSTANDING SELF AND OTHERS.pptx
 
INFORMATION TECHNOLOGY.pptx
INFORMATION TECHNOLOGY.pptxINFORMATION TECHNOLOGY.pptx
INFORMATION TECHNOLOGY.pptx
 
scaffolding in teaching.pptx
scaffolding in teaching.pptxscaffolding in teaching.pptx
scaffolding in teaching.pptx
 
REFLECTIVE TEACHING.pptx
REFLECTIVE TEACHING.pptxREFLECTIVE TEACHING.pptx
REFLECTIVE TEACHING.pptx
 
PEDAGOGICAL SKILLS.pptx
PEDAGOGICAL SKILLS.pptxPEDAGOGICAL SKILLS.pptx
PEDAGOGICAL SKILLS.pptx
 
What is an Autobiography?
 What is an Autobiography? What is an Autobiography?
What is an Autobiography?
 
Picture description
Picture descriptionPicture description
Picture description
 
The Internet and World Wide Web
The Internet and World Wide WebThe Internet and World Wide Web
The Internet and World Wide Web
 
Computer security & ethics
Computer security  & ethicsComputer security  & ethics
Computer security & ethics
 
Computer logic and gates
Computer logic and gatesComputer logic and gates
Computer logic and gates
 
Problem solving
Problem solvingProblem solving
Problem solving
 
Computer networks
Computer networksComputer networks
Computer networks
 
Classroom management
Classroom managementClassroom management
Classroom management
 
More on number system
More on number systemMore on number system
More on number system
 
Stress management
Stress managementStress management
Stress management
 
Classroom management
Classroom managementClassroom management
Classroom management
 
The future of technology
The future of technologyThe future of technology
The future of technology
 
Lesson plan:Multiplication and division of binary numbers
Lesson plan:Multiplication and division of binary numbersLesson plan:Multiplication and division of binary numbers
Lesson plan:Multiplication and division of binary numbers
 
Computer networks grade 7
Computer networks grade 7Computer networks grade 7
Computer networks grade 7
 
Applications of computer
Applications of computerApplications of computer
Applications of computer
 

Dernier

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 

Dernier (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 

Binary computing

  • 2. • Chapter 1 Data –Processing Cycle • Chapter 2 Binary Computing • Chapter 3 System Software • Chapter 4 Application Software • Chapter 5 More on Word • Chapter 6 More on Spreadsheets • Chapter 7 Algorithms and Flow charts • Chapter 8 Introduction to Programming Languages • Chapter 9 Computer Networks • Chapter 10 The Internet • Chapter 11 Communicating through Email 5/30/2019 2
  • 4. Objectives • Explain the nature of digital data and binary data. • introduce number systems as a set of rules for representing data using numbers • explain the decimal, binary, octal, and hexadecimal number systems • explain the conversion of decimal numbers into binary numbers and vice versa • explain the addition and subtraction of binary numbers • explain data storage in terms of bits and bytes 5/30/2019 4
  • 5. The Computer: A digital machine • Computers are electronic machines. • They understand data in a digital form. • Computers need to translate data from analog to digital.
  • 6. Forms of data • Data is a collection of raw facts and figures • It is often meaningless • There are different forms of data 1. Numeric data 2. Alphabetic data 3. Alphanumeric data
  • 7. Digital data • When data is processed , we get the information • Computers process data after converting it into a digital form
  • 8. Binary states • Bi means two • In case of current flow we have only two situations: either current flows or not flow • These two situations are represented by 0 & 1 • Binary state ON=1 Binary state OFF=0 • The same situation we can observe in memory unit of a processor. • Whenever we press a key on keyboard, electronic signals are sent to the processor.
  • 9. • The processor understand these signals and process them. • But human cannot see the electric current. • This is why we represent these signals as 1s and 0s • Data in the form of 1s & 0s is called binary data. Input Data Binary Data 10 1010 2 10 12 1100
  • 10. Number Systems • We use numbers to mean different things. • We use the digits 0-9 to represent small numbers like 2 & 5 , and large numbers like 5900 & 99723. • This system uses 10 digits , it is called decimal number system. • There is another number system having 2 digits 0& 1, called binary number system. Decimal Binary 10 1010
  • 11. Types of number Systems • There are several number systems but four are most commonly used. These are: 1. The decimal number system 2. The binary number system 3. The octal number system 4. The hexadecimal number system
  • 12. The decimal number System • The decimal number system, or Base 10 system is based on ten digits(0,1,2,3,4,5,6,7,8,9) • These digits are combined in different ways to represent different values. • For Example: (10)10
  • 13. The binary number System • The binary number system, or Base 2 system is based on 2 digits(0 &1) • These digits are combined in different ways to represent different values. • For Example: (10)2
  • 14. The octal number System • The octal number system, or Base 8 system is based on 8 digits(0,1,2,3,4,5,6 &7) • These digits are combined in different ways to represent different values. • For Example: (12)8
  • 15. The hexadecimal number System • The hexadecimal number system, or Base 16 system is based on 16 digits(0,1,2,3,4,5,6,7,8,9 & the letters A,B,C,D,E,F) • These digits are combined in different ways to represent different values. • For Example: (A)16
  • 16. Characters • Characters are the alphabet keys, number keys and special keys on the keyboard. • These are what you see on the keyboard. • When we press a key on the keyboard, each character is converted into a unique pattern of 1s & 0s. • For Example: Decimal system Binary system 65 01000001 97 01100001
  • 17. Binary coding scheme • Binary coding schemes are used to convert characters into binary form and vice versa. • There are three coding scheme in common use. 1. The ASCII code 2. EBCDIC code 3. Unicode
  • 18. 1. The ASCII code • ASCII stands for American Standard Code for Information Interchange
  • 19. 2. The EBCDIC code • EBCDIC stands for Extended Binary Coded Decimal Interchange Code. • It is used in mainframe computers.
  • 20. 3. Unicode • It was developed in 1990s. • It developed codes for a large number of characters including Chinese and Japanese one. • It is commonly used code to store data on microcomputers after surpassing ASCII.
  • 21. Conversion of number systems • We can convert data represented under one number system into other number system. • We can convert decimal numbers into binary number and vice versa.
  • 22. Conversion of decimal numbers into binary • To convert a decimal number into binary ,we use the repeated division method. Number Remainder 2 39 2 19 1 2 9 1 2 4 1 2 2 0 1 0
  • 23. Conversion of binary numbers into decimal • To convert a binary number into decimal ,we use the expansion method. • Convert (100111)2 into decimal = (1x25)+(0x24) +(0x23) +(1x22) +(1x21) +(1x20) =(1x32)+(0x16)+(0x8)+(1x4)+(1x2)+(1x1) =32+0+0+4+2+1 =(39)10
  • 24. Arithmetical operations using binary numbers • Binary arithmetic is performed in the same manner as decimal arithmetic. • The two basic binary arithmetic operations are: 1. Binary addition 2. Binary subtraction
  • 25. Binary addition • Binary system is based on only two digits 0 & 1 so its rule of addition is different from decimal addition. Operation Result 0+0 0 0+1 1 1+0 1 1+1 0 with 1 carried over to the next higher column
  • 26. Binary addition 0 1 0 1 1 1 0 1 + 0 0 1 1 0 0 1 0 1 0 0 0 1 1 1 1
  • 27. Binary subtraction • Binary subtraction is similar to the subtraction of decimal numbers. Operation Result 0-0 0 0-1 1 with 1 borrowed from the next position 1-0 1 1-1 0
  • 28. Binary subtraction 1 1 1 01 0 1 1 01 0 1 - 0 0 1 1 0 0 1 0 1 0 0 0 1 0 0 1