SlideShare a Scribd company logo
1 of 19
DATA REPRESENTATION
CLASS : XI
COMPUTER SCIENCE(083) - PYTHON
https://computerassignmentsforu.com
A computer is an electronic device that manipulates information, or data. It
has the ability to store, retrieve, and process data.
Machine language, or machine code, consists of binary code and is the only language
that is directly understood by the computer.
Which language is understood by the computer?
1010101010 These are the binary numbers that machine understand.
1
0
ON
OFF
TRUE
FALSE
BIT
What is Number System?
The technique to represent numbers in the computer system. When the data is
entered in a computer, it is converted into numeric format according to
ASCII(American Standard code for Information Interchange). In the number system,
each number is represented by its base number.
The number system classified into four fundamental types:
DECIMAL NUMBER SYSTEM
BINARY NUMBER SYSTEM
OCTAL NUMBER SYSTEM
HEXADECIMAL NUMBER SYSTEM
DECIMAL NUMBER SYSTEM:
In the decimal number system, the numbers are represented with base 10 means
digits from 0 to 9 only(0,1,2,3,4,5,6,7,8,9). The way of denoting the decimal numbers
with base 10 is also termed as decimal notation. Each digit has a value based on its
position called place value.
When we write numbers, the position (or "place") of each digit is important.
Example:
3 2 7 3 2 7
From Right To Left
As we move left, each position is 10 times bigger!
How we prove a DECIMAL NUMBER
Example:
(327)10
3 2 7
From Right To Left
7
2
3
x
x
x
10
10
10
=
=
=
0
1
2
7 x 1 = 7
2 x 10 = 20
3 x 100 = 300
Total: 327
Binary NUMBER SYSTEM:
In the Binary number system, the numbers are represented with base 2 means the
combination of 1 and 0.
Base Value is 2 (0,1)
Example:
( 1 0 1 1 1 ) 2
1 1 1
From Right To Left
01
octal NUMBER SYSTEM:
In the Octal number system, the numbers are represented with base 8 means digits
from 0 to 7 only(0,1,2,3,4,5,6,7).
Base Value is 8 (0 to 7)
Example:
( 2 4 6 ) 8
2 4 6
From Right To Left
hexadecimal NUMBER SYSTEM:
In the Hexadecimal number system, the numbers are represented
with base 16 means digits from 0 to 9.
Base Value is 16
Example: (A4C) 1 6
A 4 C
From Right To Left
As the base is greater than 9, the number system is supplemented by
letters.
10 =A 11 = B 12 = C 13 = D 14 = E 15 = F
10 4 12
Number System Conversion
TO CONVERT DECIMAL NUMBER TO BINARY NUMBER
TO CONVERT DECIMAL NUMBER TO OCTAL NUMBER
TO CONVERT DECIMAL NUMBER TO HEXADECIMAL NUMBER
CONVERT DECIMAL NUMBER TO BINARY NUMBER:
Let us take one decimal number first and then convert it to binary number:
(17)10 ( ? )2
=
In this case of converting decimal number to binary divide the
decimal number with the base value of binary number means
by 2.
CONVERT DECIMAL NUMBER TO BINARY NUMBER:
172
Remainder
8
1
CONVERT DECIMAL NUMBER TO BINARY NUMBER:
172
Remainder
8
1
2
4
0
CONVERT DECIMAL NUMBER TO BINARY NUMBER:
172
Remainder
8
1
2
4
0
2
2
0
CONVERT DECIMAL NUMBER TO BINARY NUMBER:
172
Remainder
8
1
2
4
0
2
2
0
2
1
0
(10001)2
(17)10 =
Down
Top
CONVERT DECIMAL NUMBER TO OCTAL NUMBER:
Let us take one decimal number first and then convert it to OCTAL number:
(37)10 ( ? )8
=
In this case of converting decimal number to OCTAL divide the
decimal number with the base value of OCTAL number means
by 8.
CONVERT DECIMAL NUMBER TO OCTAL NUMBER:
378
Remainder
4
5
NEXT REMAIN 5 NOT DIVISIBLE BY 8
(37)10 ( 45 )8
=
Down
Top
CONVERT DECIMAL NUMBER TO HEXADECIMAL NUMBER:
Let us take one decimal number first and then convert it to HEXADECIMAL number:
(125)10 ( ? )16
=
In this case of converting decimal number to HEXADECIMAL,
divide the decimal number with the base value of
HEXADECIMAL number means by 16.
CONVERT DECIMAL NUMBER TO HEXADECIMAL NUMBER:
12516
Remainder
7
13
NEXT REMAIN 7 NOT DIVISIBLE BY 16
(125)10 ( 713 )16= It is not the correct answer
CONVERT DECIMAL NUMBER TO HEXADECIMAL NUMBER:
(125)10 ( 713 )16=
So if the result is correct but WHY the
answer is still wrong.
7 D
Correct Answers is:
10 =A 11 = B 12 = C 13 = D 14 = E 15 = F
You know that in hexadecimal number base is 16 means number (0 to 9) , 10
,11,12,13,14,15 denoted by letters.
(125)10 ( 713 )16=
( 7D )16

More Related Content

What's hot (20)

Number system
Number systemNumber system
Number system
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number system
 
NUMBER SYSTEM
NUMBER SYSTEMNUMBER SYSTEM
NUMBER SYSTEM
 
Number system
Number systemNumber system
Number system
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Number system
Number systemNumber system
Number system
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
binary number system
 binary number system binary number system
binary number system
 
Binaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemesBinaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemes
 
Computer architecture data representation
Computer architecture  data representationComputer architecture  data representation
Computer architecture data representation
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
 
Number System
Number SystemNumber System
Number System
 
2.1 data represent on cpu
2.1 data represent on cpu2.1 data represent on cpu
2.1 data represent on cpu
 
08. Numeral Systems
08. Numeral Systems08. Numeral Systems
08. Numeral Systems
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Number system
Number systemNumber system
Number system
 
Number System
Number SystemNumber System
Number System
 
Representation of Signed Numbers - R.D.Sivakumar
Representation of Signed Numbers - R.D.SivakumarRepresentation of Signed Numbers - R.D.Sivakumar
Representation of Signed Numbers - R.D.Sivakumar
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Number System
Number SystemNumber System
Number System
 

Similar to Data representation

Similar to Data representation (20)

Number system
Number system  Number system
Number system
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
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...
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdf
 
Presentation of ICT.ppt.pptx
Presentation of ICT.ppt.pptxPresentation of ICT.ppt.pptx
Presentation of ICT.ppt.pptx
 
Number systems
Number systemsNumber systems
Number systems
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
 
COmputer Number system.pptx
COmputer Number system.pptxCOmputer Number system.pptx
COmputer Number system.pptx
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Data representation
Data representationData representation
Data representation
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
Chapter two FHI.pptx
Chapter two FHI.pptxChapter two FHI.pptx
Chapter two FHI.pptx
 
Grade5(Test 2).pptx
Grade5(Test 2).pptxGrade5(Test 2).pptx
Grade5(Test 2).pptx
 

More from vikram mahendra

Python Project On Cosmetic Shop system
Python Project On Cosmetic Shop systemPython Project On Cosmetic Shop system
Python Project On Cosmetic Shop systemvikram mahendra
 
Python Project on Computer Shop
Python Project on Computer ShopPython Project on Computer Shop
Python Project on Computer Shopvikram mahendra
 
PYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEMPYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEMvikram mahendra
 
BOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in PythonBOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in Pythonvikram mahendra
 
FLOW OF CONTROL-NESTED IFS IN PYTHON
FLOW OF CONTROL-NESTED IFS IN PYTHONFLOW OF CONTROL-NESTED IFS IN PYTHON
FLOW OF CONTROL-NESTED IFS IN PYTHONvikram mahendra
 
FLOWOFCONTROL-IF..ELSE PYTHON
FLOWOFCONTROL-IF..ELSE PYTHONFLOWOFCONTROL-IF..ELSE PYTHON
FLOWOFCONTROL-IF..ELSE PYTHONvikram mahendra
 
FLOW OF CONTROL-INTRO PYTHON
FLOW OF CONTROL-INTRO PYTHONFLOW OF CONTROL-INTRO PYTHON
FLOW OF CONTROL-INTRO PYTHONvikram mahendra
 
OPERATOR IN PYTHON-PART1
OPERATOR IN PYTHON-PART1OPERATOR IN PYTHON-PART1
OPERATOR IN PYTHON-PART1vikram mahendra
 
OPERATOR IN PYTHON-PART2
OPERATOR IN PYTHON-PART2OPERATOR IN PYTHON-PART2
OPERATOR IN PYTHON-PART2vikram mahendra
 
USE OF PRINT IN PYTHON PART 2
USE OF PRINT IN PYTHON PART 2USE OF PRINT IN PYTHON PART 2
USE OF PRINT IN PYTHON PART 2vikram mahendra
 
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]vikram mahendra
 
USER DEFINE FUNCTIONS IN PYTHON
USER DEFINE FUNCTIONS IN PYTHONUSER DEFINE FUNCTIONS IN PYTHON
USER DEFINE FUNCTIONS IN PYTHONvikram mahendra
 
FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]vikram mahendra
 
INTRODUCTION TO FUNCTIONS IN PYTHON
INTRODUCTION TO FUNCTIONS IN PYTHONINTRODUCTION TO FUNCTIONS IN PYTHON
INTRODUCTION TO FUNCTIONS IN PYTHONvikram mahendra
 

More from vikram mahendra (20)

Communication skill
Communication skillCommunication skill
Communication skill
 
Python Project On Cosmetic Shop system
Python Project On Cosmetic Shop systemPython Project On Cosmetic Shop system
Python Project On Cosmetic Shop system
 
Python Project on Computer Shop
Python Project on Computer ShopPython Project on Computer Shop
Python Project on Computer Shop
 
PYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEMPYTHON PROJECT ON CARSHOP SYSTEM
PYTHON PROJECT ON CARSHOP SYSTEM
 
BOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in PythonBOOK SHOP SYSTEM Project in Python
BOOK SHOP SYSTEM Project in Python
 
FLOW OF CONTROL-NESTED IFS IN PYTHON
FLOW OF CONTROL-NESTED IFS IN PYTHONFLOW OF CONTROL-NESTED IFS IN PYTHON
FLOW OF CONTROL-NESTED IFS IN PYTHON
 
FLOWOFCONTROL-IF..ELSE PYTHON
FLOWOFCONTROL-IF..ELSE PYTHONFLOWOFCONTROL-IF..ELSE PYTHON
FLOWOFCONTROL-IF..ELSE PYTHON
 
FLOW OF CONTROL-INTRO PYTHON
FLOW OF CONTROL-INTRO PYTHONFLOW OF CONTROL-INTRO PYTHON
FLOW OF CONTROL-INTRO PYTHON
 
OPERATOR IN PYTHON-PART1
OPERATOR IN PYTHON-PART1OPERATOR IN PYTHON-PART1
OPERATOR IN PYTHON-PART1
 
OPERATOR IN PYTHON-PART2
OPERATOR IN PYTHON-PART2OPERATOR IN PYTHON-PART2
OPERATOR IN PYTHON-PART2
 
USE OF PRINT IN PYTHON PART 2
USE OF PRINT IN PYTHON PART 2USE OF PRINT IN PYTHON PART 2
USE OF PRINT IN PYTHON PART 2
 
DATA TYPE IN PYTHON
DATA TYPE IN PYTHONDATA TYPE IN PYTHON
DATA TYPE IN PYTHON
 
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
USER DEFINE FUNCTIONS IN PYTHON[WITH PARAMETERS]
 
USER DEFINE FUNCTIONS IN PYTHON
USER DEFINE FUNCTIONS IN PYTHONUSER DEFINE FUNCTIONS IN PYTHON
USER DEFINE FUNCTIONS IN PYTHON
 
FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]FUNCTIONS IN PYTHON[RANDOM FUNCTION]
FUNCTIONS IN PYTHON[RANDOM FUNCTION]
 
INTRODUCTION TO FUNCTIONS IN PYTHON
INTRODUCTION TO FUNCTIONS IN PYTHONINTRODUCTION TO FUNCTIONS IN PYTHON
INTRODUCTION TO FUNCTIONS IN PYTHON
 
Python Introduction
Python IntroductionPython Introduction
Python Introduction
 
GREEN SKILL[PART-2]
GREEN SKILL[PART-2]GREEN SKILL[PART-2]
GREEN SKILL[PART-2]
 
GREEN SKILLS[PART-1]
GREEN SKILLS[PART-1]GREEN SKILLS[PART-1]
GREEN SKILLS[PART-1]
 
Dictionary in python
Dictionary in pythonDictionary in python
Dictionary in python
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Recently uploaded (20)

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 

Data representation

  • 1. DATA REPRESENTATION CLASS : XI COMPUTER SCIENCE(083) - PYTHON https://computerassignmentsforu.com
  • 2. A computer is an electronic device that manipulates information, or data. It has the ability to store, retrieve, and process data. Machine language, or machine code, consists of binary code and is the only language that is directly understood by the computer. Which language is understood by the computer? 1010101010 These are the binary numbers that machine understand. 1 0 ON OFF TRUE FALSE BIT
  • 3. What is Number System? The technique to represent numbers in the computer system. When the data is entered in a computer, it is converted into numeric format according to ASCII(American Standard code for Information Interchange). In the number system, each number is represented by its base number. The number system classified into four fundamental types: DECIMAL NUMBER SYSTEM BINARY NUMBER SYSTEM OCTAL NUMBER SYSTEM HEXADECIMAL NUMBER SYSTEM
  • 4. DECIMAL NUMBER SYSTEM: In the decimal number system, the numbers are represented with base 10 means digits from 0 to 9 only(0,1,2,3,4,5,6,7,8,9). The way of denoting the decimal numbers with base 10 is also termed as decimal notation. Each digit has a value based on its position called place value. When we write numbers, the position (or "place") of each digit is important. Example: 3 2 7 3 2 7 From Right To Left As we move left, each position is 10 times bigger!
  • 5. How we prove a DECIMAL NUMBER Example: (327)10 3 2 7 From Right To Left 7 2 3 x x x 10 10 10 = = = 0 1 2 7 x 1 = 7 2 x 10 = 20 3 x 100 = 300 Total: 327
  • 6. Binary NUMBER SYSTEM: In the Binary number system, the numbers are represented with base 2 means the combination of 1 and 0. Base Value is 2 (0,1) Example: ( 1 0 1 1 1 ) 2 1 1 1 From Right To Left 01
  • 7. octal NUMBER SYSTEM: In the Octal number system, the numbers are represented with base 8 means digits from 0 to 7 only(0,1,2,3,4,5,6,7). Base Value is 8 (0 to 7) Example: ( 2 4 6 ) 8 2 4 6 From Right To Left
  • 8. hexadecimal NUMBER SYSTEM: In the Hexadecimal number system, the numbers are represented with base 16 means digits from 0 to 9. Base Value is 16 Example: (A4C) 1 6 A 4 C From Right To Left As the base is greater than 9, the number system is supplemented by letters. 10 =A 11 = B 12 = C 13 = D 14 = E 15 = F 10 4 12
  • 9. Number System Conversion TO CONVERT DECIMAL NUMBER TO BINARY NUMBER TO CONVERT DECIMAL NUMBER TO OCTAL NUMBER TO CONVERT DECIMAL NUMBER TO HEXADECIMAL NUMBER
  • 10. CONVERT DECIMAL NUMBER TO BINARY NUMBER: Let us take one decimal number first and then convert it to binary number: (17)10 ( ? )2 = In this case of converting decimal number to binary divide the decimal number with the base value of binary number means by 2.
  • 11. CONVERT DECIMAL NUMBER TO BINARY NUMBER: 172 Remainder 8 1
  • 12. CONVERT DECIMAL NUMBER TO BINARY NUMBER: 172 Remainder 8 1 2 4 0
  • 13. CONVERT DECIMAL NUMBER TO BINARY NUMBER: 172 Remainder 8 1 2 4 0 2 2 0
  • 14. CONVERT DECIMAL NUMBER TO BINARY NUMBER: 172 Remainder 8 1 2 4 0 2 2 0 2 1 0 (10001)2 (17)10 = Down Top
  • 15. CONVERT DECIMAL NUMBER TO OCTAL NUMBER: Let us take one decimal number first and then convert it to OCTAL number: (37)10 ( ? )8 = In this case of converting decimal number to OCTAL divide the decimal number with the base value of OCTAL number means by 8.
  • 16. CONVERT DECIMAL NUMBER TO OCTAL NUMBER: 378 Remainder 4 5 NEXT REMAIN 5 NOT DIVISIBLE BY 8 (37)10 ( 45 )8 = Down Top
  • 17. CONVERT DECIMAL NUMBER TO HEXADECIMAL NUMBER: Let us take one decimal number first and then convert it to HEXADECIMAL number: (125)10 ( ? )16 = In this case of converting decimal number to HEXADECIMAL, divide the decimal number with the base value of HEXADECIMAL number means by 16.
  • 18. CONVERT DECIMAL NUMBER TO HEXADECIMAL NUMBER: 12516 Remainder 7 13 NEXT REMAIN 7 NOT DIVISIBLE BY 16 (125)10 ( 713 )16= It is not the correct answer
  • 19. CONVERT DECIMAL NUMBER TO HEXADECIMAL NUMBER: (125)10 ( 713 )16= So if the result is correct but WHY the answer is still wrong. 7 D Correct Answers is: 10 =A 11 = B 12 = C 13 = D 14 = E 15 = F You know that in hexadecimal number base is 16 means number (0 to 9) , 10 ,11,12,13,14,15 denoted by letters. (125)10 ( 713 )16= ( 7D )16