SlideShare a Scribd company logo
1 of 16
NUMBER SYSTEM
Bhagyashri Parida
Class 7A
Roll no.4
• LEARNING IN THIS CHAPTER
Decimal Number system Hexadecimal Number System
Binary Number system Computer Arithmetic
Octal number system
 In early days when there were no means of counting, people used to count
with the help of fingers , stones , pebbles ,sticks, etc. These method were
not adequate and had many limitations. To over come these limitations ,
many number system were introduced with the passage of time , like:
 Decimal number system
 Octal number system
 Binary number system
 Hexadecimal number system
A number system is a set of values used to represent different quantities.
 DECIMAL NUMBER SYSTEM
The need for counting paved the way to introduce Decimal number system in which digits 0,1,2,3…9
are used to form any number. Most of our arithmetic operations are performed with decimal
numbers.
Decimal number system consists of ten digits i.e.,0 to 9 with the base 10. Each number can be used
individually or they can be grouped to form a numeric value. E.g.,82,-256,52.87, etc. The value of
each digit in a number depends upon the following:
 The face value of the digit
 The base of the number system
 The position of the digit in the number
Each position represents a specific power of base (10). The right most digit of a number is called
Least Significant Digit whereas the left most digit is called Most Significant Digit. For example , the
number 10303 can be represented in the following way:
Example:
Observation
The positional value of each digit increases ten folds as we
move from right to left. The place value demands the on
position of the digit in the number.
Now let us discuss about the various types of number systems
that are used in a computer.
 BINARY NUMBER SYSTEM
The Binary number system consists of only two digits, i.e., zero and one (0 and 1). Since this system
uses tow digits, it has the base 2. All digital computers use this number system and convert the input
data from the decimal format into its binary equivalent.
WHY BINARY?
A computer cannot understand human language, rather it understands only the binary code.
Therefore, the data that is entered into a computer is converted into binary equivalent. It further
converts the binary results into their decimal equivalents for output.
CONVERSION OF DECIMAL INTO BINARY NUMBER SYSTEM
The equivalence between binary and decimal numbers can be understood with the given examples.
To convert a decimal number into binary number, follow the given rules:
Step 1: Divide the given decimal number with the base 2.
Step 2:Write down the remainder, divide the quotient again by 2.
Step 3:Repeat step 2 till the quotient is zero.
Let us understand the conversion of decimal number into binary number with the given
example:
Example:
Remainders, which are in each step are written in reverse order, i.e., placing the Least
Significant digit at the top and Most significant Digit at the bottom, to form the binary
equivalent of the decimal number.
BINARY TO DECIMAL NUMBER
To convert a binary number into decimal number, follow the steps given on the page.
 Multiply each binary number with its positional value, which in terms of powers of 2,
starting from the extreme right digit.
 Increase the power one by one , keeping the base fixed as 2.
 Sum up all products to get the decimal number.
Example:
 OCTAL NUMBER SYSTEM
The Octal number system (Oct)consists of 8 digits:0 to 7 with the base 8. the concept of
Octal number system came from the Native Americans as they used to count numbers by
using the space between their fingers rather than using their fingers. The procedure of
‘octal to decimal’ conversion is similar to ‘binary to decimal’ conversion, the only
difference is the change of base. So, if we want to convert any octal number to decimal
number , we have to start multiplying the digits of the number from right hand side with
the increasing power of 8 starting from 0. And finally summing up all the products.
Example:
 HEXADECIMAL NUMBER SYSTEM
This number system consists of 16 digits : 0-9 and the letters A-F represent digits 10 to 15
with the base 16. This number system is also known as Hex, where Hex=6 and Decimal=10, so
it is called Hexadecimal . The procedure of converting hexadecimal to decimal is similar to
the methods shown above, the only difference is the change of base . To convert hexadecimal
number into decimal, multiply the number with the base 16.
Hex to Decimal Conversion
Example:
 COMPUTER ARITHMETIC
As a computer understands only the binary code, the data input by the user
is converted into binary code for processing may involve various kinds of
arithmetic operations, such as addition, subtraction ,multiplication ,
division, etc., on binary numbers.
BINARY ADDITION
The technique used to add binary numbers is very easy and simple. This is performed in the
same way you perform addition with decimal numbers. The following table illustrate the
addition of two binary digits: Binary Addition
Example:
BINARY SUBTRACTION
The rules given in the table must be followed to perform binary subtraction:
a b a-b = c
0 0 0-0 = 0
1 0 1-0 = 1
1 1 1-1 = 0
0 1 0-1 = 1
(1111)22 – (1010)2
1 1 1 1
- 1 0 1 0
0 1 0 1
Example:
BINARY MULTIPLICATION
The rules for performing multiplication using binary numbers is same as that of the decimal
numbers. The given table illustrates the multiplication of two binary digits:
a b a * b = c
0 0 0 * 0 = 0
0 1 0 * 1 = 0
1 0 1 * 0 = 0
1 1 1 * 1 = 1
Binary Multiplication
(101)2 (11)2
101
Example : 11
101
+ 1 01
Sum= 1 111
BINARY DIVISION
The method to perform division of two binary numbers is same as that of decimal numbers.
See the example given below:
Example:
RECAP
 The commonly used number system is Decimal number system with the base 10.
 The right most digit of a binary number is called Least Significant Digit whereas the
left most digit is called Most Significant Digit.
 The Binary number consists of 8 digits and has the base 8.
 The Octal number consists of 8 digits and has the base 8.
 The Hexadecimal number consists of 16 digit and has the base 16.
Class 7 Cyber toolsComputer NUMBER SYSTEM

More Related Content

Similar to Class 7 Cyber toolsComputer NUMBER SYSTEM

Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
HamnaKhalid25
 

Similar to Class 7 Cyber toolsComputer NUMBER SYSTEM (20)

NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
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
 
5a data representation
5a   data representation5a   data representation
5a data representation
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdf
 
Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
 
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
FYBSC IT Digital Electronics Unit I Chapter I Number System and Binary Arithm...
 
Number System and Boolean Algebra
Number System and Boolean AlgebraNumber System and Boolean Algebra
Number System and Boolean Algebra
 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptx
 
Data representation
Data representationData representation
Data representation
 
Number system
Number system  Number system
Number system
 
Number System
Number SystemNumber System
Number System
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
IS 139 Lecture 4 - 2015
IS 139 Lecture 4 - 2015IS 139 Lecture 4 - 2015
IS 139 Lecture 4 - 2015
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4
 
digital-180612132737.pdf
digital-180612132737.pdfdigital-180612132737.pdf
digital-180612132737.pdf
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
 

Recently uploaded

TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 

Recently uploaded (20)

Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdfFrisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 

Class 7 Cyber toolsComputer NUMBER SYSTEM

  • 2. • LEARNING IN THIS CHAPTER Decimal Number system Hexadecimal Number System Binary Number system Computer Arithmetic Octal number system  In early days when there were no means of counting, people used to count with the help of fingers , stones , pebbles ,sticks, etc. These method were not adequate and had many limitations. To over come these limitations , many number system were introduced with the passage of time , like:  Decimal number system  Octal number system  Binary number system  Hexadecimal number system A number system is a set of values used to represent different quantities.
  • 3.  DECIMAL NUMBER SYSTEM The need for counting paved the way to introduce Decimal number system in which digits 0,1,2,3…9 are used to form any number. Most of our arithmetic operations are performed with decimal numbers. Decimal number system consists of ten digits i.e.,0 to 9 with the base 10. Each number can be used individually or they can be grouped to form a numeric value. E.g.,82,-256,52.87, etc. The value of each digit in a number depends upon the following:  The face value of the digit  The base of the number system  The position of the digit in the number Each position represents a specific power of base (10). The right most digit of a number is called Least Significant Digit whereas the left most digit is called Most Significant Digit. For example , the number 10303 can be represented in the following way: Example:
  • 4. Observation The positional value of each digit increases ten folds as we move from right to left. The place value demands the on position of the digit in the number. Now let us discuss about the various types of number systems that are used in a computer.
  • 5.  BINARY NUMBER SYSTEM The Binary number system consists of only two digits, i.e., zero and one (0 and 1). Since this system uses tow digits, it has the base 2. All digital computers use this number system and convert the input data from the decimal format into its binary equivalent. WHY BINARY? A computer cannot understand human language, rather it understands only the binary code. Therefore, the data that is entered into a computer is converted into binary equivalent. It further converts the binary results into their decimal equivalents for output. CONVERSION OF DECIMAL INTO BINARY NUMBER SYSTEM The equivalence between binary and decimal numbers can be understood with the given examples. To convert a decimal number into binary number, follow the given rules: Step 1: Divide the given decimal number with the base 2. Step 2:Write down the remainder, divide the quotient again by 2. Step 3:Repeat step 2 till the quotient is zero.
  • 6. Let us understand the conversion of decimal number into binary number with the given example: Example: Remainders, which are in each step are written in reverse order, i.e., placing the Least Significant digit at the top and Most significant Digit at the bottom, to form the binary equivalent of the decimal number.
  • 7. BINARY TO DECIMAL NUMBER To convert a binary number into decimal number, follow the steps given on the page.  Multiply each binary number with its positional value, which in terms of powers of 2, starting from the extreme right digit.  Increase the power one by one , keeping the base fixed as 2.  Sum up all products to get the decimal number. Example:
  • 8.  OCTAL NUMBER SYSTEM The Octal number system (Oct)consists of 8 digits:0 to 7 with the base 8. the concept of Octal number system came from the Native Americans as they used to count numbers by using the space between their fingers rather than using their fingers. The procedure of ‘octal to decimal’ conversion is similar to ‘binary to decimal’ conversion, the only difference is the change of base. So, if we want to convert any octal number to decimal number , we have to start multiplying the digits of the number from right hand side with the increasing power of 8 starting from 0. And finally summing up all the products. Example:
  • 9.  HEXADECIMAL NUMBER SYSTEM This number system consists of 16 digits : 0-9 and the letters A-F represent digits 10 to 15 with the base 16. This number system is also known as Hex, where Hex=6 and Decimal=10, so it is called Hexadecimal . The procedure of converting hexadecimal to decimal is similar to the methods shown above, the only difference is the change of base . To convert hexadecimal number into decimal, multiply the number with the base 16. Hex to Decimal Conversion Example:
  • 10.  COMPUTER ARITHMETIC As a computer understands only the binary code, the data input by the user is converted into binary code for processing may involve various kinds of arithmetic operations, such as addition, subtraction ,multiplication , division, etc., on binary numbers.
  • 11. BINARY ADDITION The technique used to add binary numbers is very easy and simple. This is performed in the same way you perform addition with decimal numbers. The following table illustrate the addition of two binary digits: Binary Addition Example:
  • 12. BINARY SUBTRACTION The rules given in the table must be followed to perform binary subtraction: a b a-b = c 0 0 0-0 = 0 1 0 1-0 = 1 1 1 1-1 = 0 0 1 0-1 = 1 (1111)22 – (1010)2 1 1 1 1 - 1 0 1 0 0 1 0 1 Example:
  • 13. BINARY MULTIPLICATION The rules for performing multiplication using binary numbers is same as that of the decimal numbers. The given table illustrates the multiplication of two binary digits: a b a * b = c 0 0 0 * 0 = 0 0 1 0 * 1 = 0 1 0 1 * 0 = 0 1 1 1 * 1 = 1 Binary Multiplication (101)2 (11)2 101 Example : 11 101 + 1 01 Sum= 1 111
  • 14. BINARY DIVISION The method to perform division of two binary numbers is same as that of decimal numbers. See the example given below: Example:
  • 15. RECAP  The commonly used number system is Decimal number system with the base 10.  The right most digit of a binary number is called Least Significant Digit whereas the left most digit is called Most Significant Digit.  The Binary number consists of 8 digits and has the base 8.  The Octal number consists of 8 digits and has the base 8.  The Hexadecimal number consists of 16 digit and has the base 16.