SlideShare une entreprise Scribd logo
1  sur  10
DATA REPRESENTATION
CLASS : XI
COMPUTER SCIENCE(083) - PYTHON
https://computerassignmentsforu.blogspot.com
PART-5
Number System Conversion
TO CONVERT FRACTIONAL BINARY TO FRACTIONAL DECIMAL NUMBER
TO CONVERT MIXED BINARY NUMBER TO MIXED OCTAL NUMBER
TO CONVERT MIXED BINARY NUMBER TO MIXED HEXADECIMAL NUMBER
CONVERT FRACTIONAL BINARY NUMBER TO FRACTIONAL DECIMAL NUMBER:
(.1011)2 ( ? )10
=
In this case of converting fractional
binary number to fractional decimal
number multiply each binary digit from
Left To Right (starting from .[Period or
Dot] ) by base value of binary 2 and
power value starts from -1 to….. N
numbers[Negative]
Convert fractional binary NUMBER to fractional decimal Number
Example:
(.1011)2
0 1 1
From Left To Right
1 =
=
=
1 x 0.0625 =0.0625
1 x 0.125 = 0.125
Total: 0.68751
1
1
0
1
x
x
x
x
2
2
2
2
-4
-3
-2
0 x 0.25 = 0
1 x 0.5 = 0.5
0.06251
0.125
0
0.5
Add
=
-1
0.06251 0.125 0 0.5
=
CONVERT MIXED BINARY NUMBER TO MIXED DECIMAL NUMBER:
Let us take one decimal number first and then convert it to DECIMAL number:
(1101.111)2 ( ? )2
=
In this case of SPLIT THE BINARY NUMBER INTO TWO PART
FROM DOT(.) SIGN.
1101 1111101.111
(1101.101)2=
1101 101
1 1 10 1 10
1
1
0
1
1
1
0
x
x
x
x
x
x
x
2 =
2 =
2 =
2 =
2 =1x0.125=
2 =0x0.25=
2 =1x0.5=
0
1
2
3
-3
-2
-1
1
0
4
8
0.125
0
0.5
Total: 13
Total: 0.625
( )10
13
625
CONVERT MIXED BINARY NUMBER TO MIXED OCTAL NUMBER:
(1111011.1101)10 ( ? )8
=
In this case make the group of 3 binary numbers and read
numbers from RIGHT TO LEFT before (.)DOT and read numbers
from LEFT TO RIGHT after (.)DOT.
1111011.1101
11 111011
CONVERT MIXED BINARY NUMBER TO MIXED OCTAL NUMBER:
(1111011.1101)10 ( )8=
1111011.1101
00
110
00
1 7 3 6 4
CONVERT MIXED BINARY NUMBER TO MIXED HEXADECIMAL NUMBER:
(1011011101.10101101)10 ( ? )16
=
In this case make the group of 4 binary numbers and read
numbers from RIGHT TO LEFT before (.)DOT and read numbers
from LEFT TO RIGHT after (.)DOT.
1011011101.10101101
CONVERT MIXED BINARY NUMBER TO MIXED HEXADECIMAL NUMBER:
(1011011101.101011011)10 ( )16=
1011011101.1010110111101110110
00
1010
1101
1
000
2 13=D 10=A 8
2 D D DA 82 D D A D 8

Contenu connexe

Tendances

Synthetic division
Synthetic divisionSynthetic division
Synthetic division
swartzje
 
Edu 290 ppt 1
Edu 290 ppt 1Edu 290 ppt 1
Edu 290 ppt 1
marti13a
 
Edu 290 ppt 2
Edu 290 ppt 2Edu 290 ppt 2
Edu 290 ppt 2
marti13a
 
6 1 relations lesson
6 1 relations lesson6 1 relations lesson
6 1 relations lesson
gwilson8786
 
Matlab Assignment JK Institute
Matlab Assignment JK InstituteMatlab Assignment JK Institute
Matlab Assignment JK Institute
Om Prakash
 
FRCC MAT050 Factoring (Sect 3.11)
FRCC MAT050 Factoring (Sect 3.11)FRCC MAT050 Factoring (Sect 3.11)
FRCC MAT050 Factoring (Sect 3.11)
cccscoetc
 
Pythagorean theorem and distance formula
Pythagorean theorem and distance formulaPythagorean theorem and distance formula
Pythagorean theorem and distance formula
taneshawilson
 
Greatest Common Factor
Greatest Common FactorGreatest Common Factor
Greatest Common Factor
Kathy Favazza
 
Algebra 7 Point 5
Algebra 7 Point 5Algebra 7 Point 5
Algebra 7 Point 5
herbison
 

Tendances (20)

Potencias e 3eso
Potencias e 3esoPotencias e 3eso
Potencias e 3eso
 
Synthetic division
Synthetic divisionSynthetic division
Synthetic division
 
Ejercicios de retroalimentacion
Ejercicios de retroalimentacionEjercicios de retroalimentacion
Ejercicios de retroalimentacion
 
Edu 290 ppt 1
Edu 290 ppt 1Edu 290 ppt 1
Edu 290 ppt 1
 
Edu 290 ppt 2
Edu 290 ppt 2Edu 290 ppt 2
Edu 290 ppt 2
 
Digital logic design lecture 03
Digital logic design   lecture 03 Digital logic design   lecture 03
Digital logic design lecture 03
 
সংখ্যা পদ্ধতির রুপান্তর
সংখ্যা পদ্ধতির রুপান্তর সংখ্যা পদ্ধতির রুপান্তর
সংখ্যা পদ্ধতির রুপান্তর
 
Factoring perfect-square-trinomials
Factoring perfect-square-trinomialsFactoring perfect-square-trinomials
Factoring perfect-square-trinomials
 
6 1 relations lesson
6 1 relations lesson6 1 relations lesson
6 1 relations lesson
 
Matlab Assignment JK Institute
Matlab Assignment JK InstituteMatlab Assignment JK Institute
Matlab Assignment JK Institute
 
Onlinetest360.com quantitative aptitude PDF
Onlinetest360.com quantitative aptitude PDFOnlinetest360.com quantitative aptitude PDF
Onlinetest360.com quantitative aptitude PDF
 
FRCC MAT050 Factoring (Sect 3.11)
FRCC MAT050 Factoring (Sect 3.11)FRCC MAT050 Factoring (Sect 3.11)
FRCC MAT050 Factoring (Sect 3.11)
 
Vedic part 1
Vedic part 1Vedic part 1
Vedic part 1
 
Pythagorean theorem and distance formula
Pythagorean theorem and distance formulaPythagorean theorem and distance formula
Pythagorean theorem and distance formula
 
Greatest Common Factor
Greatest Common FactorGreatest Common Factor
Greatest Common Factor
 
Primes & Composites, GCF
Primes & Composites, GCFPrimes & Composites, GCF
Primes & Composites, GCF
 
Square of binomial
Square of binomialSquare of binomial
Square of binomial
 
Algebra 7 Point 5
Algebra 7 Point 5Algebra 7 Point 5
Algebra 7 Point 5
 
Sum and difference of two squares
Sum and difference of two squaresSum and difference of two squares
Sum and difference of two squares
 
Standard form solve equations
Standard form solve equationsStandard form solve equations
Standard form solve equations
 

Similaire à DATA REPRESENTATION-NUMBER SYSTEM

Binary octal
Binary octalBinary octal
Binary octal
drdipo4
 

Similaire à DATA REPRESENTATION-NUMBER SYSTEM (20)

lec2_BinaryArithmetic.ppt
lec2_BinaryArithmetic.pptlec2_BinaryArithmetic.ppt
lec2_BinaryArithmetic.ppt
 
Chapter 6 base_number
Chapter 6 base_numberChapter 6 base_number
Chapter 6 base_number
 
Data representation
Data representationData representation
Data representation
 
digital-electronics.pptx
digital-electronics.pptxdigital-electronics.pptx
digital-electronics.pptx
 
Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)
 
Akash Saha CSE 33 ADEpptx.pptx
Akash Saha CSE 33 ADEpptx.pptxAkash Saha CSE 33 ADEpptx.pptx
Akash Saha CSE 33 ADEpptx.pptx
 
Number system
Number systemNumber system
Number system
 
Binary octal
Binary octalBinary octal
Binary octal
 
Lesson plan on data representation
Lesson plan on data representationLesson plan on data representation
Lesson plan on data representation
 
Logic Design - Chapter 1: Number Systems and Codes
Logic Design - Chapter 1: Number Systems and CodesLogic Design - Chapter 1: Number Systems and Codes
Logic Design - Chapter 1: Number Systems and Codes
 
numbers system
numbers systemnumbers system
numbers system
 
Video lectures
Video lecturesVideo lectures
Video lectures
 
Mba ebooks
Mba ebooksMba ebooks
Mba ebooks
 
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
 
Unit 4.docx
Unit 4.docxUnit 4.docx
Unit 4.docx
 
ch2.pdf
ch2.pdfch2.pdf
ch2.pdf
 
DATA REPRESENTATION.pptx
DATA REPRESENTATION.pptxDATA REPRESENTATION.pptx
DATA REPRESENTATION.pptx
 
Okkkkk
OkkkkkOkkkkk
Okkkkk
 
Chapter two FHI.pptx
Chapter two FHI.pptxChapter two FHI.pptx
Chapter two FHI.pptx
 
08 Numeral systems
08 Numeral systems08 Numeral systems
08 Numeral systems
 

Plus de vikram mahendra

Plus de 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
 

Dernier

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Dernier (20)

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
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
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
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
 
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
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
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
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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Ữ Â...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 

DATA REPRESENTATION-NUMBER SYSTEM

  • 1. DATA REPRESENTATION CLASS : XI COMPUTER SCIENCE(083) - PYTHON https://computerassignmentsforu.blogspot.com PART-5
  • 2. Number System Conversion TO CONVERT FRACTIONAL BINARY TO FRACTIONAL DECIMAL NUMBER TO CONVERT MIXED BINARY NUMBER TO MIXED OCTAL NUMBER TO CONVERT MIXED BINARY NUMBER TO MIXED HEXADECIMAL NUMBER
  • 3. CONVERT FRACTIONAL BINARY NUMBER TO FRACTIONAL DECIMAL NUMBER: (.1011)2 ( ? )10 = In this case of converting fractional binary number to fractional decimal number multiply each binary digit from Left To Right (starting from .[Period or Dot] ) by base value of binary 2 and power value starts from -1 to….. N numbers[Negative]
  • 4. Convert fractional binary NUMBER to fractional decimal Number Example: (.1011)2 0 1 1 From Left To Right 1 = = = 1 x 0.0625 =0.0625 1 x 0.125 = 0.125 Total: 0.68751 1 1 0 1 x x x x 2 2 2 2 -4 -3 -2 0 x 0.25 = 0 1 x 0.5 = 0.5 0.06251 0.125 0 0.5 Add = -1 0.06251 0.125 0 0.5 =
  • 5. CONVERT MIXED BINARY NUMBER TO MIXED DECIMAL NUMBER: Let us take one decimal number first and then convert it to DECIMAL number: (1101.111)2 ( ? )2 = In this case of SPLIT THE BINARY NUMBER INTO TWO PART FROM DOT(.) SIGN. 1101 1111101.111
  • 6. (1101.101)2= 1101 101 1 1 10 1 10 1 1 0 1 1 1 0 x x x x x x x 2 = 2 = 2 = 2 = 2 =1x0.125= 2 =0x0.25= 2 =1x0.5= 0 1 2 3 -3 -2 -1 1 0 4 8 0.125 0 0.5 Total: 13 Total: 0.625 ( )10 13 625
  • 7. CONVERT MIXED BINARY NUMBER TO MIXED OCTAL NUMBER: (1111011.1101)10 ( ? )8 = In this case make the group of 3 binary numbers and read numbers from RIGHT TO LEFT before (.)DOT and read numbers from LEFT TO RIGHT after (.)DOT. 1111011.1101
  • 8. 11 111011 CONVERT MIXED BINARY NUMBER TO MIXED OCTAL NUMBER: (1111011.1101)10 ( )8= 1111011.1101 00 110 00 1 7 3 6 4
  • 9. CONVERT MIXED BINARY NUMBER TO MIXED HEXADECIMAL NUMBER: (1011011101.10101101)10 ( ? )16 = In this case make the group of 4 binary numbers and read numbers from RIGHT TO LEFT before (.)DOT and read numbers from LEFT TO RIGHT after (.)DOT. 1011011101.10101101
  • 10. CONVERT MIXED BINARY NUMBER TO MIXED HEXADECIMAL NUMBER: (1011011101.101011011)10 ( )16= 1011011101.1010110111101110110 00 1010 1101 1 000 2 13=D 10=A 8 2 D D DA 82 D D A D 8