SlideShare une entreprise Scribd logo
1  sur  26
DATA
REPRESENTATION IN
COMPUTERS
BINARY REPRESENTATION
OF DATA
•Bit - a fundamental unit of
information having just two
possible values, as either of the
binary digits 0 or 1.
•Byte - a unit of digital information
in computing and
telecommunications that most
DIGITAL REPRESENTATION
• Within a computer, information is
represented and stored in a
digital binary format.
• The term bit is an abbreviation of
binary digit and represents the
smallest piece of data.
• Humans interpret words and
pictures; computers interpret
only patterns of bits.
NUMBERING SYSTEMS
• Number System Base Symbols used
• Binary 2 0,1
• Octal 8 0,1,2,3,4,5,6,7
• Decimal 10 0,1,2,3,4,5,6,7,8,9
• Hexadecimal 16
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
where A = 10; B = 11; C = 12; D =
USING POSITIONAL NOTATION
USING DOUBLING
Use this method to convert
from any base to decimal. Doubling is
used because the given number is of
base 2. If the given number is of a
different base, replace the 2 in the
method with the base of the given
number. For example, if the given number
is in base 37, you would replace the "x 2"
with "x 37". The final result will always be
in decimal (base 10).
PRACTICE
1. 110100012
2. 110012
3. 111100012
CONVERT DECIMAL NUMBERS TO
BINARY
• Example:
25
25/2
12/2
6/2
3/2
1/2
25 = 11001
Quotien
t
12
6
3
1
0
Remaind
er
1
0
0
1
1
CONVERT DECIMAL NUMBERS TO
BINARY
Checking:
1 1 0 0 1 multiplier
16 8 4 2 1 equivalents
16 8 0 0 1 results
16+8+0+0+1 = 25
•Direction: Convert the decimal
numbers shown below to binary.
Perform checking to verify
answers.
1) 19
2) 28
3) 37
Data Representation in Computers Explained

Contenu connexe

Tendances

Computer architecture data representation
Computer architecture  data representationComputer architecture  data representation
Computer architecture data representationAnil Pokhrel
 
Number System & Data Representation
Number System & Data RepresentationNumber System & Data Representation
Number System & Data RepresentationPhillip Glenn Libay
 
Floating point representation
Floating point representationFloating point representation
Floating point representationmissstevenson01
 
How computers represent data
How computers represent dataHow computers represent data
How computers represent dataShaon Ahmed
 
Types of software
Types of softwareTypes of software
Types of softwarelatifah2001
 
Intro to Bits, Bytes, and Storage
Intro to Bits, Bytes, and StorageIntro to Bits, Bytes, and Storage
Intro to Bits, Bytes, and StorageJohn Goldsworthy
 
Number System in CoMpUtEr
Number System in CoMpUtErNumber System in CoMpUtEr
Number System in CoMpUtErvishal bansal
 
Computer Components
Computer ComponentsComputer Components
Computer ComponentsBeth Sockman
 
Binary number system
Binary number systemBinary number system
Binary number systemNadeem Uddin
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionMubashir Ali
 

Tendances (20)

Number system conversion
Number system conversionNumber system conversion
Number system conversion
 
Fundamental of Computers
Fundamental of ComputersFundamental of Computers
Fundamental of Computers
 
Data representation
Data representationData representation
Data representation
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
 
ppt of flowchart
ppt of flowchartppt of flowchart
ppt of flowchart
 
Computer architecture data representation
Computer architecture  data representationComputer architecture  data representation
Computer architecture data representation
 
Number System & Data Representation
Number System & Data RepresentationNumber System & Data Representation
Number System & Data Representation
 
Conversion of number system
Conversion of number systemConversion of number system
Conversion of number system
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
How computers represent data
How computers represent dataHow computers represent data
How computers represent data
 
Types of software
Types of softwareTypes of software
Types of software
 
Intro to Bits, Bytes, and Storage
Intro to Bits, Bytes, and StorageIntro to Bits, Bytes, and Storage
Intro to Bits, Bytes, and Storage
 
Number System in CoMpUtEr
Number System in CoMpUtErNumber System in CoMpUtEr
Number System in CoMpUtEr
 
Data types
Data typesData types
Data types
 
Computer Components
Computer ComponentsComputer Components
Computer Components
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
File management
File managementFile management
File management
 
Binary number system
Binary number systemBinary number system
Binary number system
 
Operating system basics
Operating system basicsOperating system basics
Operating system basics
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 

En vedette

Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representationekul
 
[1] Data Representation
[1] Data Representation[1] Data Representation
[1] Data RepresentationMr McAlpine
 
Computer Data Representation
Computer Data RepresentationComputer Data Representation
Computer Data Representationritaester
 
Computer Systems Data Representation
Computer Systems   Data RepresentationComputer Systems   Data Representation
Computer Systems Data Representationiarthur
 
Data representation moris mano ch 03
Data representation   moris mano ch  03Data representation   moris mano ch  03
Data representation moris mano ch 03thearticlenow
 
Data communication and network Chapter -1
Data communication and network Chapter -1Data communication and network Chapter -1
Data communication and network Chapter -1Zafar Ayub
 
Hexadecimal numbers
Hexadecimal  numbersHexadecimal  numbers
Hexadecimal numbersatcnerd
 
Data representation
Data representationData representation
Data representationrozanadiana
 
Hexadecimal
HexadecimalHexadecimal
Hexadecimalwardjo
 
Computer organuzaton & architecture
Computer organuzaton & architectureComputer organuzaton & architecture
Computer organuzaton & architectureSubhankar Bisoyi
 
hexadecimal notes By ZAK
hexadecimal notes By ZAKhexadecimal notes By ZAK
hexadecimal notes By ZAKTabsheer Hasan
 
Powerpoint presentation -negative numbers
Powerpoint presentation  -negative numbersPowerpoint presentation  -negative numbers
Powerpoint presentation -negative numbersrenjinimaths
 

En vedette (20)

Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
 
[1] Data Representation
[1] Data Representation[1] Data Representation
[1] Data Representation
 
Computer Data Representation
Computer Data RepresentationComputer Data Representation
Computer Data Representation
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Computer Systems Data Representation
Computer Systems   Data RepresentationComputer Systems   Data Representation
Computer Systems Data Representation
 
Data representation moris mano ch 03
Data representation   moris mano ch  03Data representation   moris mano ch  03
Data representation moris mano ch 03
 
Data presentation 2
Data presentation 2Data presentation 2
Data presentation 2
 
Ppt on internet
Ppt on internetPpt on internet
Ppt on internet
 
Data communication and network Chapter -1
Data communication and network Chapter -1Data communication and network Chapter -1
Data communication and network Chapter -1
 
4_BIT_ALU
4_BIT_ALU4_BIT_ALU
4_BIT_ALU
 
The internet
The internetThe internet
The internet
 
Deep web
Deep webDeep web
Deep web
 
Internet
InternetInternet
Internet
 
Hexadecimal numbers
Hexadecimal  numbersHexadecimal  numbers
Hexadecimal numbers
 
Data representation
Data representationData representation
Data representation
 
Chap 2 network models
Chap 2 network modelsChap 2 network models
Chap 2 network models
 
Hexadecimal
HexadecimalHexadecimal
Hexadecimal
 
Computer organuzaton & architecture
Computer organuzaton & architectureComputer organuzaton & architecture
Computer organuzaton & architecture
 
hexadecimal notes By ZAK
hexadecimal notes By ZAKhexadecimal notes By ZAK
hexadecimal notes By ZAK
 
Powerpoint presentation -negative numbers
Powerpoint presentation  -negative numbersPowerpoint presentation  -negative numbers
Powerpoint presentation -negative numbers
 

Similaire à Data Representation in Computers Explained

TLE – ICT 8 Digital Mensuration II.pptx
TLE – ICT 8 Digital Mensuration II.pptxTLE – ICT 8 Digital Mensuration II.pptx
TLE – ICT 8 Digital Mensuration II.pptxjudechristopher3
 
DIGITAL REPRESENTATION.pptx
DIGITAL REPRESENTATION.pptxDIGITAL REPRESENTATION.pptx
DIGITAL REPRESENTATION.pptxRye Raine
 
Number systems
Number systemsNumber systems
Number systemsKalaTecno
 
Ch12- instruction sets- char & funct.pdf
Ch12- instruction sets- char & funct.pdfCh12- instruction sets- char & funct.pdf
Ch12- instruction sets- char & funct.pdfsaimawarsi
 
Computer-Number-Systems (1).ppt FCIT HG x
Computer-Number-Systems (1).ppt FCIT HG xComputer-Number-Systems (1).ppt FCIT HG x
Computer-Number-Systems (1).ppt FCIT HG xrawatsumit9902
 
CSS L03 - Mensuration and Calculation in CSS
CSS L03 - Mensuration and Calculation in CSSCSS L03 - Mensuration and Calculation in CSS
CSS L03 - Mensuration and Calculation in CSSMarvin Bronoso
 
CODING OF INFORMATION : sounds, images, printable & non printable data
CODING OF INFORMATION : sounds, images, printable & non printable dataCODING OF INFORMATION : sounds, images, printable & non printable data
CODING OF INFORMATION : sounds, images, printable & non printable dataTushar singh
 
Topic 1 - Introduction to Networking.pptx
Topic 1 - Introduction to Networking.pptxTopic 1 - Introduction to Networking.pptx
Topic 1 - Introduction to Networking.pptxMariaCrystalEOrozco
 
Chapter 2 computer system
Chapter 2 computer systemChapter 2 computer system
Chapter 2 computer systemmeisaina
 
Data and information in digital organisation
Data and information in digital organisation Data and information in digital organisation
Data and information in digital organisation Sanjay Singh
 
Carry out and perform calculation.pptx
Carry out and perform calculation.pptxCarry out and perform calculation.pptx
Carry out and perform calculation.pptxReynaldoTorres24
 
UNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptx
UNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptxUNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptx
UNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptxKaameshwaranKaameshw
 
CCNA 1 : introduction_to_networking
CCNA 1 : introduction_to_networkingCCNA 1 : introduction_to_networking
CCNA 1 : introduction_to_networkingeysipi
 

Similaire à Data Representation in Computers Explained (20)

TLE – ICT 8 Digital Mensuration II.pptx
TLE – ICT 8 Digital Mensuration II.pptxTLE – ICT 8 Digital Mensuration II.pptx
TLE – ICT 8 Digital Mensuration II.pptx
 
DIGITAL REPRESENTATION.pptx
DIGITAL REPRESENTATION.pptxDIGITAL REPRESENTATION.pptx
DIGITAL REPRESENTATION.pptx
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Number systems
Number systemsNumber systems
Number systems
 
Ch12- instruction sets- char & funct.pdf
Ch12- instruction sets- char & funct.pdfCh12- instruction sets- char & funct.pdf
Ch12- instruction sets- char & funct.pdf
 
Computer-Number-Systems (1).ppt FCIT HG x
Computer-Number-Systems (1).ppt FCIT HG xComputer-Number-Systems (1).ppt FCIT HG x
Computer-Number-Systems (1).ppt FCIT HG x
 
CSS L03 - Mensuration and Calculation in CSS
CSS L03 - Mensuration and Calculation in CSSCSS L03 - Mensuration and Calculation in CSS
CSS L03 - Mensuration and Calculation in CSS
 
DLD-unit-1(2022).pdf
DLD-unit-1(2022).pdfDLD-unit-1(2022).pdf
DLD-unit-1(2022).pdf
 
CODING OF INFORMATION : sounds, images, printable & non printable data
CODING OF INFORMATION : sounds, images, printable & non printable dataCODING OF INFORMATION : sounds, images, printable & non printable data
CODING OF INFORMATION : sounds, images, printable & non printable data
 
Data representation
Data representationData representation
Data representation
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
 
Lecture 01
Lecture 01Lecture 01
Lecture 01
 
Topic 1 - Introduction to Networking.pptx
Topic 1 - Introduction to Networking.pptxTopic 1 - Introduction to Networking.pptx
Topic 1 - Introduction to Networking.pptx
 
Chapter 2 computer system
Chapter 2 computer systemChapter 2 computer system
Chapter 2 computer system
 
Data and information in digital organisation
Data and information in digital organisation Data and information in digital organisation
Data and information in digital organisation
 
Carry out and perform calculation.pptx
Carry out and perform calculation.pptxCarry out and perform calculation.pptx
Carry out and perform calculation.pptx
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
UNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptx
UNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptxUNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptx
UNIT-I U20EST109 - PROBLEM SOLVING APPROACH - Copy (1).pptx
 
CCNA 1 : introduction_to_networking
CCNA 1 : introduction_to_networkingCCNA 1 : introduction_to_networking
CCNA 1 : introduction_to_networking
 

Plus de Hazel Anne Quirao (20)

History of volleyball
History of volleyballHistory of volleyball
History of volleyball
 
Family and marriage
Family and marriageFamily and marriage
Family and marriage
 
The Five S’s (5S) of Good Housekeeping
The Five S’s (5S) of Good HousekeepingThe Five S’s (5S) of Good Housekeeping
The Five S’s (5S) of Good Housekeeping
 
Baroque period
Baroque periodBaroque period
Baroque period
 
Renaissance Period Literature
Renaissance Period LiteratureRenaissance Period Literature
Renaissance Period Literature
 
Death of King Arthur
Death of King ArthurDeath of King Arthur
Death of King Arthur
 
Lord Randall
Lord RandallLord Randall
Lord Randall
 
Canterbury Tales
Canterbury TalesCanterbury Tales
Canterbury Tales
 
Contribution of Priests in English Literature
Contribution of Priests in English LiteratureContribution of Priests in English Literature
Contribution of Priests in English Literature
 
Contribution of Knights in English Literature
Contribution of Knights in English LiteratureContribution of Knights in English Literature
Contribution of Knights in English Literature
 
The Ruined City
The Ruined CityThe Ruined City
The Ruined City
 
Beowulf
BeowulfBeowulf
Beowulf
 
Introduction on The Anglo Saxon Era
Introduction on The Anglo Saxon EraIntroduction on The Anglo Saxon Era
Introduction on The Anglo Saxon Era
 
COLLOIDS
COLLOIDSCOLLOIDS
COLLOIDS
 
The Properties of Matter
The Properties of MatterThe Properties of Matter
The Properties of Matter
 
ARALIN 2: Mga Pinagkukunang-yaman ng Pilipinas
ARALIN 2: Mga Pinagkukunang-yaman ng PilipinasARALIN 2: Mga Pinagkukunang-yaman ng Pilipinas
ARALIN 2: Mga Pinagkukunang-yaman ng Pilipinas
 
PC Building Precautions
PC Building PrecautionsPC Building Precautions
PC Building Precautions
 
Preparing to Build your own PC
Preparing to Build your own PCPreparing to Build your own PC
Preparing to Build your own PC
 
PC for Managers
PC for ManagersPC for Managers
PC for Managers
 
Booting Process
Booting ProcessBooting Process
Booting Process
 

Dernier

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Dernier (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

Data Representation in Computers Explained

  • 2.
  • 3. •Bit - a fundamental unit of information having just two possible values, as either of the binary digits 0 or 1. •Byte - a unit of digital information in computing and telecommunications that most
  • 4. DIGITAL REPRESENTATION • Within a computer, information is represented and stored in a digital binary format. • The term bit is an abbreviation of binary digit and represents the smallest piece of data. • Humans interpret words and pictures; computers interpret only patterns of bits.
  • 5. NUMBERING SYSTEMS • Number System Base Symbols used • Binary 2 0,1 • Octal 8 0,1,2,3,4,5,6,7 • Decimal 10 0,1,2,3,4,5,6,7,8,9 • Hexadecimal 16 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F where A = 10; B = 11; C = 12; D =
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21. Use this method to convert from any base to decimal. Doubling is used because the given number is of base 2. If the given number is of a different base, replace the 2 in the method with the base of the given number. For example, if the given number is in base 37, you would replace the "x 2" with "x 37". The final result will always be in decimal (base 10).
  • 23. CONVERT DECIMAL NUMBERS TO BINARY • Example: 25 25/2 12/2 6/2 3/2 1/2 25 = 11001 Quotien t 12 6 3 1 0 Remaind er 1 0 0 1 1
  • 24. CONVERT DECIMAL NUMBERS TO BINARY Checking: 1 1 0 0 1 multiplier 16 8 4 2 1 equivalents 16 8 0 0 1 results 16+8+0+0+1 = 25
  • 25. •Direction: Convert the decimal numbers shown below to binary. Perform checking to verify answers. 1) 19 2) 28 3) 37

Notes de l'éditeur

  1. A bit can have only two possible values, a one digit (1) or a zero digit (0). A bit can be used to represent the state of something that has two states. For example, a light switch can be either On or Off; in binary representation, these states would correspond to 1 and 0, respectively.
  2. Each number system has a base also called a Radix. A decimal number system is a system of base 10; binary is a system of base 2; octal is a system of base 8; and hexadecimal is a system of base 16. What are these varying bases? The answer lies in what happens when we count up to the maximum number that the numbering system allows. In base 10, we can count from 0 to 9, that is,10 digits.
  3. 1 Write down the binary number and list the powers of 2 from right to left. Let's say we want to convert the binary number 100110112 to decimal. First, write it down. Then, write down the powers of two from right to left. Start at 20, evaluating it as "1". Increment the exponent by one for each power. Stop when the amount of elements in the list is equal to the amount of digits in the binary number. The example number, 10011011, has eight digits, so the list, with eight elements, would look like this: 128, 64, 32, 16, 8, 4, 2, 1
  4. 2 Write the digits of the binary number below their corresponding powers of two. Now, just write 10011011 below the numbers 128, 64, 32, 16, 8, 4, 2, and 1 so that each binary digit corresponds with its power of two. The "1" to the right of the binary number should correspond with the "1" on the right of the listed powers of two, and so on. You can also write the binary digits above the powers of two, if you prefer it that way. What's important is that they match up.
  5. 3 Connect the digits in the binary number with their corresponding powers of two. Draw lines, starting from the right, connecting each consecutive digit of the binary number to the power of two that is next in the list above it. Begin by drawing a line from the first digit of the binary number to the first power of two in the list above it. Then, draw a line from the second digit of the binary number to the second power of two in the list. Continue connecting each digit with its corresponding power of two. This will help you visually see the relationship between the two sets of numbers.
  6. 4 Write down the final value of each power of two. Move through each digit of the binary number. If the digit is a 1, write its corresponding power of two below the line, under the digit. If the digit is a 0, write a 0 below the line, under the digit. Since "1" corresponds with "1", it becomes a "1." Since "2" corresponds with "1," it becomes a "2." Since "4" corresponds with "0," it becomes "0." Since "8" corresponds with "1", it becomes "8," and since "16" corresponds with "1" it becomes "16." "32" corresponds with "0" and becomes "0" and "64" corresponds with "0" and therefore becomes "0" while "128" corresponds with "1" and becomes 128.
  7. 5 Add the final values. Now, add up the numbers written below the line. Here's what you do: 128 + 0 + 0 + 16 + 8 + 0 + 2 + 1 = 155. This is the decimal equivalent of the binary number 10011011.
  8. 6 Write the answer along with its base subscript. Now, all you have to do is write 15510, to show that you are working with a decimal answer, which must be operating in powers of 10. The more you get used to converting from binary to decimal, the more easy it will be for you to memorize the powers of two, and you'll be able to complete the task more quickly.
  9. 1 Write down the binary number. This method does not use powers. As such, it is simpler for converting large numbers in your head because you only need to keep track of a subtotal. The first thing you need to of is to write down the binary number you'll be converting using the doubling method. Let's say the number you're working with is 10110012. Write it down.
  10. 2 Starting from the left, double your previous total and add the current digit.Since you're working with the binary number 10110012, your first digit all the way on the left is 1. Your previous total is 0 since you haven't started yet. You'll have to double the previous total, 0, and add 1, the current digit. 0 x 2 + 1 = 1, so your new current total is 1.
  11. 3 Double your current total and add the next leftmost digit. Your current total is now 1 and the new current digit is 0. So, double 1 and add 0. 1 x 2 + 0 = 2. Your new current total is 2.
  12. 4 Repeat the previous step. Just keep going. Next, double your current total, and add 1, your next digit. 2 x 2 + 1 = 5. Your current total is now 5.
  13. 5 Repeat the previous step again. Next, double your current total, 5, and add the next digit, 1. 5 x 2 + 1 = 11. Your new total is 11.
  14. 6 Repeat the previous step again. Double your current total, 11, and add the next digit, 0. 2 x 11 + 0 = 22.
  15. 7 Repeat the previous step again. Now, double your current total, 22, and add 0, the next digit. 22 x 2 + 0 = 44.
  16. 8 Continue doubling your current total and adding the next digit until you've run out of digits. Now, you're down to your last number and are almost done! All you have to do is take your current total, 44, and double it along with adding 1, the last digit. 2 x 44 + 1 = 89. You're all done! You've converted 100110112 to decimal notation to its decimal form, 89.
  17. 9 Write the answer along with its base subscript. Write your final answer as 8910 to show that you're working with a decimal, which has a base of 10.
  18. Practice. Try converting the binary numbers 110100012, 110012, and 111100012. Respectively, their decimal equivalents are 20910, 2510, and 24110.