SlideShare a Scribd company logo
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

More Related Content

What's hot

Number System
Number SystemNumber System
Number System
Zahid Rajeel
 
Convert decimal to binary
Convert decimal to binary Convert decimal to binary
Convert decimal to binary
tcc_joemarie
 
Number System in CoMpUtEr
Number System in CoMpUtErNumber System in CoMpUtEr
Number System in CoMpUtEr
vishal bansal
 
Chapter 4 number system
Chapter 4 number systemChapter 4 number system
Chapter 4 number system
Praveen M Jigajinni
 
Number Systems
Number SystemsNumber Systems
Number Systems
Jubayer Alam Shoikat
 
1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL
Buxoo Abdullah
 
Number system
Number systemNumber system
Number system
Palash Sachan
 
Computer Keyboard
Computer KeyboardComputer Keyboard
Computer Keyboard
FathimaLidiya
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
Hazel Anne Quirao
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
Buxoo Abdullah
 
Number system and codes
Number system and codesNumber system and codes
Number system and codes
Abhiraj Bohra
 
Number System & Data Representation
Number System & Data RepresentationNumber System & Data Representation
Number System & Data Representation
Phillip Glenn Libay
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
Nisarg Amin
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
Zaheer Abbasi
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary numberguestd8696a
 
Number System
Number SystemNumber System
Number System
Ramesh Ragala
 
Decimal, Binary, Octal, And Hexadecimal number systems.
Decimal, Binary, Octal, And Hexadecimal number systems.Decimal, Binary, Octal, And Hexadecimal number systems.
Decimal, Binary, Octal, And Hexadecimal number systems.
AOUN ABBAS
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
Anil Kumar Prajapati
 
Data representation
Data representationData representation
Data representation
Prashant Saurabh
 

What's hot (20)

Number System
Number SystemNumber System
Number System
 
Convert decimal to binary
Convert decimal to binary Convert decimal to binary
Convert decimal to binary
 
Number System in CoMpUtEr
Number System in CoMpUtErNumber System in CoMpUtEr
Number System in CoMpUtEr
 
Chapter 4 number system
Chapter 4 number systemChapter 4 number system
Chapter 4 number system
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL
 
Number system
Number systemNumber system
Number system
 
Computer Keyboard
Computer KeyboardComputer Keyboard
Computer Keyboard
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
 
Number system and codes
Number system and codesNumber system and codes
Number system and codes
 
Number System & Data Representation
Number System & Data RepresentationNumber System & Data Representation
Number System & Data Representation
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary number
 
Number System
Number SystemNumber System
Number System
 
Decimal, Binary, Octal, And Hexadecimal number systems.
Decimal, Binary, Octal, And Hexadecimal number systems.Decimal, Binary, Octal, And Hexadecimal number systems.
Decimal, Binary, Octal, And Hexadecimal number systems.
 
Ascii codes
Ascii codesAscii codes
Ascii codes
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
Data representation
Data representationData representation
Data representation
 

Similar to Binary computing

DLD-unit-1(2022).pdf
DLD-unit-1(2022).pdfDLD-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
Mubashir 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.pptx
LibanMohamed26
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
shivas379526
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
HamnaKhalid25
 
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
abelllll
 
lect1.ppt
lect1.pptlect1.ppt
lect1.ppt
MarlonMagtibay2
 
Decimal to Binary Conversion
Decimal to Binary ConversionDecimal to Binary Conversion
Decimal to Binary Conversion
Mac Mac
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
optimuspc05
 
Acem numbersystem
Acem numbersystemAcem numbersystem
Acem numbersystem
Aastha Kohli
 
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
must322322
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
Rabiul Sarker
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
AsifRahaman16
 
Numbering System Base Conversion
Numbering System Base ConversionNumbering System Base Conversion
Numbering System Base Conversion
The University of Lahore
 
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
AnupamBiswas67
 
Module-1_Part_1 (1).pptx
Module-1_Part_1 (1).pptxModule-1_Part_1 (1).pptx
Module-1_Part_1 (1).pptx
kumarloresh143
 
12117188.ppt
12117188.ppt12117188.ppt
12117188.ppt
Harshal Vaidya
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
Lovely Professional University
 
12117188.ppt
12117188.ppt12117188.ppt
12117188.ppt
Harshal Vaidya
 

Similar to 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
 

More from samina khan

UNDERSTANDING SELF AND OTHERS.pptx
UNDERSTANDING SELF AND OTHERS.pptxUNDERSTANDING SELF AND OTHERS.pptx
UNDERSTANDING SELF AND OTHERS.pptx
samina khan
 
INFORMATION TECHNOLOGY.pptx
INFORMATION TECHNOLOGY.pptxINFORMATION TECHNOLOGY.pptx
INFORMATION TECHNOLOGY.pptx
samina khan
 
scaffolding in teaching.pptx
scaffolding in teaching.pptxscaffolding in teaching.pptx
scaffolding in teaching.pptx
samina khan
 
REFLECTIVE TEACHING.pptx
REFLECTIVE TEACHING.pptxREFLECTIVE TEACHING.pptx
REFLECTIVE TEACHING.pptx
samina khan
 
PEDAGOGICAL SKILLS.pptx
PEDAGOGICAL SKILLS.pptxPEDAGOGICAL SKILLS.pptx
PEDAGOGICAL SKILLS.pptx
samina 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 description
samina khan
 
The Internet and World Wide Web
The Internet and World Wide WebThe Internet and World Wide Web
The Internet and World Wide Web
samina khan
 
Computer security & ethics
Computer security  & ethicsComputer security  & ethics
Computer security & ethics
samina khan
 
Computer logic and gates
Computer logic and gatesComputer logic and gates
Computer logic and gates
samina khan
 
Problem solving
Problem solvingProblem solving
Problem solving
samina khan
 
Computer networks
Computer networksComputer networks
Computer networks
samina khan
 
Classroom management
Classroom managementClassroom management
Classroom management
samina khan
 
More on number system
More on number systemMore on number system
More on number system
samina khan
 
Stress management
Stress managementStress management
Stress management
samina khan
 
Classroom management
Classroom managementClassroom management
Classroom management
samina khan
 
The future of technology
The future of technologyThe future of technology
The future of technology
samina 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 numbers
samina khan
 
Computer networks grade 7
Computer networks grade 7Computer networks grade 7
Computer networks grade 7
samina khan
 
Applications of computer
Applications of computerApplications of computer
Applications of computer
samina khan
 

More from 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
 

Recently uploaded

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 

Recently uploaded (20)

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 

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