SlideShare a Scribd company logo
1 of 24
Download to read offline
M. Raihan
Email: rianku11@gmail.com
Data Representation
Part-1
Data Representation
10-Aug-17 3
The techniques to represent the data.
External data representation: represented by the
alphabets A to Z and a to z, digits 0 to 9 and various other
symbols.
Used to formulate problems and are fed to computer.
The processed output is also in same form.
Internal representation: represented by 0 and 1. A form
suitable for storing into memory and for processing by the
processor.
Continue
10-Aug-17 4
Data are of two types:
Numeric
Non-numeric (character data)
The numeric data deals only with numbers
and arithmetic operations.
The non-numeric data deals with characters,
names, addresses, etc. and non-arithmetic
operations.
Numeric Data
10-Aug-17 5
Based on the presence of decimal point, numeric data are
of 2 types:
Integer
Real
Integer: do not have any decimal point. Example: 120,
1971, –231, 0
Real: decimal point divides real into 2 parts - integer part
and fractional part.
Example: 123.234, 3.1416, –23.15
In 12.34, 12 is the integer part and .34 is the fractional
part.
Numeric Data (Continue)
10-Aug-17 6
Numbers can be categorized as:
un-signed numbers
signed numbers
Un-signed numbers are always positive. Example: 120, 1971,
3.1416, 0
Signed numbers are either positive or negative. Example: +120, –
1971, +12.345, –23.15, +0 etc.
Representation of Unsigned Integers
10-Aug-17 7
All the bits for the number is used to represent a number.
No need to represent the sign of the number.
For a 8 bits number, the highest integer value is (11111111)2= (255)10
and the lowest integer value is (00000000)2 = (0)10.
Using an n bits, values from 0 to (2n – 1) can be represented.
Number System
10-Aug-17 8
Binary Number System: Base 2. Digits used : 0, 1
Octal Number System: Base 8. Digits used : 0 to 7
Hexa Decimal Number System: Base 16. Digits used:
0 to 9, Letters used : A- F
Decimal Number System: Base 10. Digits from 0 to 9
Decimal Number System
10-Aug-17 9
Each position represents a specific power of the base (10).
For example, the decimal number 1234 consists of the digit 4 in the units position,
3 in the tens position, 2 in the hundreds position, and 1 in the thousands position.
Its value can be written as:
(1 x 1000)+ (2 x 100)+ (3 x 10)+ (4 x l)
(1 x 103)+ (2 x 102)+ (3 x 101)+ (4 x l00)
1000 + 200 + 30 + 4
1234
Binary Number System
10-Aug-17 10
Characteristics of the binary number system are as
follows −
Uses two digits, 0 and 1
Also called as base 2 number system
Each position in a binary number represents a 0 power of
the base (2). Example 20
Last position in a binary number represents a x power of
the base (2). Example 2x where x represents the last
position - 1.
Binary Number System (continue)
10-Aug-17 11
Example: Binary Number: 101012
Step 1:
((1 x 24) + (0 x 23) + (1 x 22) + (0 x 21) + (1 x 20))10
Step 2:
(16 + 0 + 4 + 0 + 1)10
Step 3:
2110
Octal Number System
10-Aug-17 12
Characteristics of the octal number system are as
follows −
Uses eight digits, 0,1,2,3,4,5,6,7
Also called as base 8 number system
Each position in an octal number represents a 0
power of the base (8). Example 80
Last position in an octal number represents a x
power of the base (8). Example 8x where x
represents the last position - 1
Octal Number System (continue)
10-Aug-17 13
Example: Octal Number: 125708
((1 x 84) + (2 x 83) + (5 x 82) + (7 x 81) + (0 x 80))10
(4096 + 1024 + 320 + 56 + 0)10
549610
Hexadecimal Number System
10-Aug-17 14
Characteristics of hexadecimal number system are as follows −
Uses 10 digits and 6 letters, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
Letters represent the numbers starting from 10. A = 10. B = 11, C
= 12, D = 13, E = 14, F = 15
Also called as base 16 number system
Each position in a hexadecimal number represents a 0 power of
the base (16). Example, 160
Last position in a hexadecimal number represents a x power of
the base (16). Example 16x where x represents the last position - 1
Hexadecimal Number System (continue)
10-Aug-17 15
Example: Hexadecimal Number: 19FDE16
(1 x 164) + (9 x 163) + (F x 162) + (D x 161) + (E x 160))10
((1 x 164) + (9 x 163) + (15 x 162) + (13 x 161) + (14 x 160))10
(65536+ 36864 + 3840 + 208 + 14)10
10646210
Decimal to Binary
10-Aug-17 16
Base Number Remainder
2 41
2 20 1
2 10 0
2 5 0
2 2 1
2 1 0
0 1
Quotient
(41)10 = (101001)2
Binary to Decimal
10-Aug-17 17
Decimal to Octal
10-Aug-17 18
Decimal to Hexadecimal
10-Aug-17 19
Octal to Binary
10-Aug-17 20
Binary to Octal
10-Aug-17 21
Binary to Hexadecimal
10-Aug-17 22
Hexadecimal to Binary
10-Aug-17 23
Thank You
10-Aug-17 24

More Related Content

What's hot (18)

08. Numeral Systems
08. Numeral Systems08. Numeral Systems
08. Numeral Systems
 
Number system
Number systemNumber system
Number system
 
11 octal number system
11   octal number system11   octal number system
11 octal number system
 
ALL ABOUT NUMBER SYSTEMS
ALL ABOUT NUMBER SYSTEMSALL ABOUT NUMBER SYSTEMS
ALL ABOUT NUMBER SYSTEMS
 
number system
number systemnumber system
number system
 
Binary, Decimal and Hexadecimal
Binary, Decimal and HexadecimalBinary, Decimal and Hexadecimal
Binary, Decimal and Hexadecimal
 
Number system part 1
Number  system part 1Number  system part 1
Number system part 1
 
Number system
Number systemNumber system
Number system
 
Number Systems
Number Systems Number Systems
Number Systems
 
Hexadecimal numbers
Hexadecimal  numbersHexadecimal  numbers
Hexadecimal numbers
 
Ch 4
Ch 4Ch 4
Ch 4
 
Number system
Number systemNumber system
Number system
 
Data representation
Data representationData representation
Data representation
 
JPC#8 Foundation of Computer Science
JPC#8 Foundation of Computer ScienceJPC#8 Foundation of Computer Science
JPC#8 Foundation of Computer Science
 
Number System and Boolean Algebra
Number System and Boolean AlgebraNumber System and Boolean Algebra
Number System and Boolean Algebra
 
Numsys
NumsysNumsys
Numsys
 
Exercise1 java
Exercise1 javaExercise1 java
Exercise1 java
 
Data representation moris mano ch 03
Data representation   moris mano ch  03Data representation   moris mano ch  03
Data representation moris mano ch 03
 

Similar to How to represent data internally and externally

Similar to How to represent data internally and externally (20)

name-mansimittal-160716124305.pdf
name-mansimittal-160716124305.pdfname-mansimittal-160716124305.pdf
name-mansimittal-160716124305.pdf
 
Number System in CoMpUtEr
Number System in CoMpUtErNumber System in CoMpUtEr
Number System in CoMpUtEr
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Number+system (1)
Number+system (1)Number+system (1)
Number+system (1)
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1
 
Grade5(Test 2).pptx
Grade5(Test 2).pptxGrade5(Test 2).pptx
Grade5(Test 2).pptx
 
number system.ppt
number system.pptnumber system.ppt
number system.ppt
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Number system
Number systemNumber system
Number system
 
Basic of number system
Basic of number systemBasic of number system
Basic of number system
 
Number system computer fundamental
 Number  system computer fundamental  Number  system computer fundamental
Number system computer fundamental
 
Data representation
Data representationData representation
Data representation
 
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
 
DLD Chapter-1.pdf
DLD Chapter-1.pdfDLD Chapter-1.pdf
DLD Chapter-1.pdf
 
Number System.
Number System.Number System.
Number System.
 
Number systems
Number systemsNumber systems
Number systems
 
Number system
Number system  Number system
Number system
 
Okkkkk
OkkkkkOkkkkk
Okkkkk
 

More from M. Raihan

Amplifiers and biopotential amplifiers new
Amplifiers and biopotential amplifiers newAmplifiers and biopotential amplifiers new
Amplifiers and biopotential amplifiers newM. Raihan
 
Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Comparison of fnir with other neuroimaging modalities relation between eeg sy...Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Comparison of fnir with other neuroimaging modalities relation between eeg sy...M. Raihan
 

More from M. Raihan (20)

Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Amplifiers and biopotential amplifiers new
Amplifiers and biopotential amplifiers newAmplifiers and biopotential amplifiers new
Amplifiers and biopotential amplifiers new
 
Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Comparison of fnir with other neuroimaging modalities relation between eeg sy...Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Comparison of fnir with other neuroimaging modalities relation between eeg sy...
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
 
Lecture 17
Lecture 17Lecture 17
Lecture 17
 
Lecture 16
Lecture 16Lecture 16
Lecture 16
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
 

Recently uploaded

Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
“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
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
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
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
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
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 

Recently uploaded (20)

Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
“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...
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
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
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
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
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 

How to represent data internally and externally

  • 3. Data Representation 10-Aug-17 3 The techniques to represent the data. External data representation: represented by the alphabets A to Z and a to z, digits 0 to 9 and various other symbols. Used to formulate problems and are fed to computer. The processed output is also in same form. Internal representation: represented by 0 and 1. A form suitable for storing into memory and for processing by the processor.
  • 4. Continue 10-Aug-17 4 Data are of two types: Numeric Non-numeric (character data) The numeric data deals only with numbers and arithmetic operations. The non-numeric data deals with characters, names, addresses, etc. and non-arithmetic operations.
  • 5. Numeric Data 10-Aug-17 5 Based on the presence of decimal point, numeric data are of 2 types: Integer Real Integer: do not have any decimal point. Example: 120, 1971, –231, 0 Real: decimal point divides real into 2 parts - integer part and fractional part. Example: 123.234, 3.1416, –23.15 In 12.34, 12 is the integer part and .34 is the fractional part.
  • 6. Numeric Data (Continue) 10-Aug-17 6 Numbers can be categorized as: un-signed numbers signed numbers Un-signed numbers are always positive. Example: 120, 1971, 3.1416, 0 Signed numbers are either positive or negative. Example: +120, – 1971, +12.345, –23.15, +0 etc.
  • 7. Representation of Unsigned Integers 10-Aug-17 7 All the bits for the number is used to represent a number. No need to represent the sign of the number. For a 8 bits number, the highest integer value is (11111111)2= (255)10 and the lowest integer value is (00000000)2 = (0)10. Using an n bits, values from 0 to (2n – 1) can be represented.
  • 8. Number System 10-Aug-17 8 Binary Number System: Base 2. Digits used : 0, 1 Octal Number System: Base 8. Digits used : 0 to 7 Hexa Decimal Number System: Base 16. Digits used: 0 to 9, Letters used : A- F Decimal Number System: Base 10. Digits from 0 to 9
  • 9. Decimal Number System 10-Aug-17 9 Each position represents a specific power of the base (10). For example, the decimal number 1234 consists of the digit 4 in the units position, 3 in the tens position, 2 in the hundreds position, and 1 in the thousands position. Its value can be written as: (1 x 1000)+ (2 x 100)+ (3 x 10)+ (4 x l) (1 x 103)+ (2 x 102)+ (3 x 101)+ (4 x l00) 1000 + 200 + 30 + 4 1234
  • 10. Binary Number System 10-Aug-17 10 Characteristics of the binary number system are as follows − Uses two digits, 0 and 1 Also called as base 2 number system Each position in a binary number represents a 0 power of the base (2). Example 20 Last position in a binary number represents a x power of the base (2). Example 2x where x represents the last position - 1.
  • 11. Binary Number System (continue) 10-Aug-17 11 Example: Binary Number: 101012 Step 1: ((1 x 24) + (0 x 23) + (1 x 22) + (0 x 21) + (1 x 20))10 Step 2: (16 + 0 + 4 + 0 + 1)10 Step 3: 2110
  • 12. Octal Number System 10-Aug-17 12 Characteristics of the octal number system are as follows − Uses eight digits, 0,1,2,3,4,5,6,7 Also called as base 8 number system Each position in an octal number represents a 0 power of the base (8). Example 80 Last position in an octal number represents a x power of the base (8). Example 8x where x represents the last position - 1
  • 13. Octal Number System (continue) 10-Aug-17 13 Example: Octal Number: 125708 ((1 x 84) + (2 x 83) + (5 x 82) + (7 x 81) + (0 x 80))10 (4096 + 1024 + 320 + 56 + 0)10 549610
  • 14. Hexadecimal Number System 10-Aug-17 14 Characteristics of hexadecimal number system are as follows − Uses 10 digits and 6 letters, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F Letters represent the numbers starting from 10. A = 10. B = 11, C = 12, D = 13, E = 14, F = 15 Also called as base 16 number system Each position in a hexadecimal number represents a 0 power of the base (16). Example, 160 Last position in a hexadecimal number represents a x power of the base (16). Example 16x where x represents the last position - 1
  • 15. Hexadecimal Number System (continue) 10-Aug-17 15 Example: Hexadecimal Number: 19FDE16 (1 x 164) + (9 x 163) + (F x 162) + (D x 161) + (E x 160))10 ((1 x 164) + (9 x 163) + (15 x 162) + (13 x 161) + (14 x 160))10 (65536+ 36864 + 3840 + 208 + 14)10 10646210
  • 16. Decimal to Binary 10-Aug-17 16 Base Number Remainder 2 41 2 20 1 2 10 0 2 5 0 2 2 1 2 1 0 0 1 Quotient (41)10 = (101001)2