SlideShare a Scribd company logo
1 of 26
L.O: STUDENTS WILL LEARN
TO READ HEXADECIMAL
REPRESENTATION
25-50 minutes (about 1 class period)
DO NOW:
READ
Unit 4 Lab 1: Number Representation, Page 3
Typing long strings of ones and zeros is
inconvenient very prone to error.
Its easy to make a mistake writing all
those ones and zeros for binary!
Using Hexadecimal (base
16) is a common
compromise
Four binary digits are used to
represent the values 0 through 15.
Only one hex digit is needed to
represents 0 through 15.
So eight digits of binary can be translated
into two digits of hexadecimal, which is
much easier and much less error-prone
for humans.
27 26 25 24 23 22 21 20
128s
place
64s
place
32s
place
16s
place
8s
place
Fours
place
Twos
place
Ones
place
Eight bits in base two…..
…is two digits in base 16
161 160
Sixteens place Ones place
For example: 12110 = 011110012 = 7916
0 1 1 1 1 0 0 1
7 9
In base 16, there are sixteen
digits (0-9 and A-F)….
..Each place is worth sixteen times
the place to its right.
One hex digit has 16 possible values, the
equivalent of four binary digits (bits).
By convention, place value notations
use only one digit in each place. We
need to represent 0 through 15, and
we have digits for 0-9, so we choose
A-F for the remaining values:
10 11 12 13 14 15
A B C D E F
For You to Do:
1. Watch this Hexadecimal and Binary Timer Snap!
program run. The top row counts in binary, the
middle in decimal, the bottom in hex. Write a
description of the hex counter's behavior
binary
decimals
hex
Reading Hexadecimal
• Base 16 uses powers of sixteen instead of powers
of two or ten.
• Place values in hexadecimal represent the units
place (160 = 1)
• the sixteens place (161 = 16)
• the two hundred fifty-sixes place (162 = 256)
• the four thousand ninety-sixes place (163 = 4096),
etc. So, for example:
3B16 = 3 × 161 + 11 × 160 = 48 + 11 = 5910
Hex to base 10.
To translate from hexadecmial (like 7B3​16​​ ) to base
10:
1. first, write the digits on paper.
2. Then write out the hexadecimal place values.
3. start at the right with 1,
4. then write 16 in the next place to the left,
5. then write 256 (which is 162), and so on.
Each new place will be worth 16 times the one to its
right. 7 B 3
256 16 1
This means:
7B3​16 =
7⋅256 + 11⋅16 + 3⋅1 = 1792 + 176 + 3 = 1971​10
A-F cover the digits after 9:
10 11 12 13 14 15
A B C D E F
Sample problem HEX into decimals
FF16
FF16 =
= (15⋅161 + 15⋅16​0)​10
= (15⋅16 + 15)​10
= 255​10
Translate these hexadecimal numerals
into base 10 notation: show your work
a.AF16
b.5D16
c.1816
d.3E816
Translate these hexadecimal
numerals into base 10 notation:
a.AF16
b.5D16
c.1816
d.3E816
a.AF16 = 17510
b.5D16 = 9310
c.1816 = 2410
d.3E816 = 100010
Translate these decimal numbers
into hex: show your work
a.5510
b.23610
c.200010
d.7510
Is “11” the number eleven (in decimal)?
Or three (written in binary)?
Or is it seventeen ( written in hex)?
• A numeral like 11 could mean eleven in the usual
decimal notation.
• or three if it is a binary numeral
• or seventeen in hex notation.
• The only way you know that the ”11” doesn't
mean eleven is that you have write the base:
11 base 16 or just 11​16
• ​​ (By convention, the base itself is always written in
decimal notation.)
Writing Hexadecimal:
translating decimals (base 10) to Hex
(base 16)
To translate from base 10 (like 29910 ) to base 16:
• first write out the hex place values by multiplying by
16 moving left from the units place until you get to a
value larger than your number (4096 for this
example).
• Then think, "My number is smaller than 4096, so I
leave that place blank. But I can subtract a two
hundred fifty-six once, so I write a 1 there,
• and there's 43 left. Now, I can subtract 2 sixteens,
• and there's 11 left. And 11 is B in hex.
299
43
11
0
4096 256 16 1
1 2 11 (B)
Now, read the number off:
12B16 =299​10​​ .
Translate these decimal numerals to
hexadecimal notation:
a.59
b.144
c.229
d.316
a.5910 = 3B16
b.14410 = 9016
c.22910 = E516
d.31610 = 13C16
Translate these decimal numerals to
hexadecimal notation:
a.59
b.144
c.229
d.316
Translate these decimal numerals to
hexadecimal notation:
a.3B16
b.E516
c. 9016
d.13C16
Learning Objectives:
• LO 2.1.1 Describe the variety of
abstractions used to represent
data. [P3]
• LO 2.1.2 Explain how binary
sequences are used to represent
digital data. [P5]
Enduring Understandings:
•EU 2.1 A variety of
abstractions built upon
binary sequences can be
used to represent all
digital data.
Essential Knowledge:
1. EK 2.1.1A Digital data is represented by
abstractions at different levels.
2. EK 2.1.1B At the lowest level, all digital data are
represented by bits.
3. EK 2.1.1C At a higher level, bits are grouped to
represent abstractions, including but not limited
to numbers, characters, and color.
4. EK 2.1.1D Number bases, including binary,
decimal, and hexadecimal, are used to represent
and investigate digital data
Essential Knowledge:
• 5. EK 2.1.1E At one of the lowest levels of
abstraction, digital data is represented in binary
(base 2) using only combinations of the digits zero
and one.
• 6. EK 2.1.1F Hexadecimal (base 16) is used to
represent digital data because hexadecimal
representation uses fewer digits than binary.
• 7. EK 2.1.1G Numbers can be converted from any
base to any other base.
• 8. EK 2.1.2A A finite representation is used to
model the infinite mathematical concept of a
number.
Essential Knowledge:
• 9. EK 2.1.2B In many programming languages, the
fixed number of bits used to represent characters
or integers limits the range of integer values and
mathematical operations; this limitation can result
in overflow or other errors.
• 10.EK 2.1.2C In many programming languages, the
fixed number of bits used to represent real
numbers (as floating point numbers) limits the
range of floating point values and mathematical
operations; this limitation can result in round off
and other errors.
Essential Knowledge:
• 11. EK 2.1.2D The interpretation of a binary sequence
depends on how it is used.
• 12. EK 2.1.2E A sequence of bits may represent
instructions or data.
• 13. EK 2.1.2F A sequence of bits may represent
different types of data in different contexts.
• 14. EK 6.2.2J The bandwidth of a system is a measure
of bit rate—the amount of data (measured in bits)
that can be sent in a fixed amount of time.
• 15. EK 6.2.2K The latency of a system is the time
elapsed between the transmission and the receipt of a
request.

More Related Content

What's hot

What's hot (19)

Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Numsys
NumsysNumsys
Numsys
 
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 Systems
Number SystemsNumber Systems
Number Systems
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 
6.number system
6.number system6.number system
6.number system
 
Number system
Number systemNumber system
Number system
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Number system
Number systemNumber system
Number system
 
Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number system
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Data Reprersentation
Data Reprersentation  Data Reprersentation
Data Reprersentation
 
Computer architecture data representation
Computer architecture  data representationComputer architecture  data representation
Computer architecture data representation
 
Chapter iii: Number System
Chapter iii: Number SystemChapter iii: Number System
Chapter iii: Number System
 
10 hexadecimal number system student
10   hexadecimal number system student10   hexadecimal number system student
10 hexadecimal number system student
 
Number system
Number systemNumber system
Number system
 

Similar to Lesson4.3 u4 l1 hexadecimal representation

Similar to Lesson4.3 u4 l1 hexadecimal representation (20)

numbering system binary and decimal hex octal
numbering system binary and decimal hex octalnumbering system binary and decimal hex octal
numbering system binary and decimal hex octal
 
Lesson4.1 u4 l1 binary representation
Lesson4.1 u4 l1 binary representationLesson4.1 u4 l1 binary representation
Lesson4.1 u4 l1 binary representation
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
As Level Computer Science Book -1
As Level Computer Science  Book -1As Level Computer Science  Book -1
As Level Computer Science Book -1
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Digital electronics number system notes
Digital electronics number system notesDigital electronics number system notes
Digital electronics number system notes
 
Number system
Number systemNumber system
Number system
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
 
Arithmetic.ppt
Arithmetic.pptArithmetic.ppt
Arithmetic.ppt
 
Cit 1101 lec 02
Cit 1101 lec 02Cit 1101 lec 02
Cit 1101 lec 02
 
Introduction to number system
Introduction to number systemIntroduction to number system
Introduction to number system
 
Number bases
Number basesNumber bases
Number bases
 
Chapter02.pdf
Chapter02.pdfChapter02.pdf
Chapter02.pdf
 
02 number systems
02 number systems02 number systems
02 number systems
 
Binary numbers-7-12-2011
Binary numbers-7-12-2011Binary numbers-7-12-2011
Binary numbers-7-12-2011
 
Digital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdfDigital Electronics – Unit I.pdf
Digital Electronics – Unit I.pdf
 
Number system
Number systemNumber system
Number system
 

More from Lexume1

More from Lexume1 (20)

Lesson flow charts 2
Lesson flow charts 2Lesson flow charts 2
Lesson flow charts 2
 
Lesson flow charts 1
Lesson flow charts 1Lesson flow charts 1
Lesson flow charts 1
 
Ap exam big idea 7 global impact
Ap exam big idea 7 global impactAp exam big idea 7 global impact
Ap exam big idea 7 global impact
 
Lesson pseudocode
Lesson  pseudocodeLesson  pseudocode
Lesson pseudocode
 
Ap exam big idea 6 the internet
Ap exam big idea 6 the internetAp exam big idea 6 the internet
Ap exam big idea 6 the internet
 
Ap exam big idea 5 programming
Ap exam big idea 5 programmingAp exam big idea 5 programming
Ap exam big idea 5 programming
 
Ap exam big idea 4 algorithms
Ap exam big idea 4 algorithmsAp exam big idea 4 algorithms
Ap exam big idea 4 algorithms
 
Ap exam big idea 3 data and information
Ap exam big idea 3 data and informationAp exam big idea 3 data and information
Ap exam big idea 3 data and information
 
Ap exam big idea 2 abstraction
Ap exam big idea 2 abstractionAp exam big idea 2 abstraction
Ap exam big idea 2 abstraction
 
Lesson4.2 u4 l1 binary squences
Lesson4.2 u4 l1 binary squencesLesson4.2 u4 l1 binary squences
Lesson4.2 u4 l1 binary squences
 
Lesson4.0 unit 4 the internet and global impact
Lesson4.0 unit 4  the internet and global impactLesson4.0 unit 4  the internet and global impact
Lesson4.0 unit 4 the internet and global impact
 
Lesson4.9 d u4l3 hierarchy of open protocols
Lesson4.9 d u4l3 hierarchy of open protocolsLesson4.9 d u4l3 hierarchy of open protocols
Lesson4.9 d u4l3 hierarchy of open protocols
 
Lesson4.9 c u4l3 tcp (transmission control protocol)
Lesson4.9 c u4l3 tcp (transmission control protocol)Lesson4.9 c u4l3 tcp (transmission control protocol)
Lesson4.9 c u4l3 tcp (transmission control protocol)
 
Lesson4.9 b u4l3 ip addresses
Lesson4.9 b u4l3 ip addressesLesson4.9 b u4l3 ip addresses
Lesson4.9 b u4l3 ip addresses
 
Lesson4.9 a u4l2 html
Lesson4.9 a u4l2 htmlLesson4.9 a u4l2 html
Lesson4.9 a u4l2 html
 
Lesson4.8 u4 l2 address hierarchy
Lesson4.8 u4 l2 address hierarchyLesson4.8 u4 l2 address hierarchy
Lesson4.8 u4 l2 address hierarchy
 
Lesson4.7 u4 l2 network redundancy
Lesson4.7 u4 l2 network redundancyLesson4.7 u4 l2 network redundancy
Lesson4.7 u4 l2 network redundancy
 
Lesson4.6 u4 l2 what is the internet?
Lesson4.6 u4 l2 what is the internet?Lesson4.6 u4 l2 what is the internet?
Lesson4.6 u4 l2 what is the internet?
 
Lesson2.9 o u2l6 who cares about encryption
Lesson2.9 o u2l6 who cares about encryptionLesson2.9 o u2l6 who cares about encryption
Lesson2.9 o u2l6 who cares about encryption
 
Lesson2.9 p u2l6 cryptography and innovations
Lesson2.9 p u2l6 cryptography and innovationsLesson2.9 p u2l6 cryptography and innovations
Lesson2.9 p u2l6 cryptography and innovations
 

Recently uploaded

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
EADTU
 

Recently uploaded (20)

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 

Lesson4.3 u4 l1 hexadecimal representation

  • 1. L.O: STUDENTS WILL LEARN TO READ HEXADECIMAL REPRESENTATION 25-50 minutes (about 1 class period) DO NOW: READ Unit 4 Lab 1: Number Representation, Page 3
  • 2. Typing long strings of ones and zeros is inconvenient very prone to error. Its easy to make a mistake writing all those ones and zeros for binary! Using Hexadecimal (base 16) is a common compromise Four binary digits are used to represent the values 0 through 15. Only one hex digit is needed to represents 0 through 15. So eight digits of binary can be translated into two digits of hexadecimal, which is much easier and much less error-prone for humans.
  • 3. 27 26 25 24 23 22 21 20 128s place 64s place 32s place 16s place 8s place Fours place Twos place Ones place Eight bits in base two….. …is two digits in base 16 161 160 Sixteens place Ones place
  • 4. For example: 12110 = 011110012 = 7916 0 1 1 1 1 0 0 1 7 9
  • 5. In base 16, there are sixteen digits (0-9 and A-F)…. ..Each place is worth sixteen times the place to its right. One hex digit has 16 possible values, the equivalent of four binary digits (bits).
  • 6. By convention, place value notations use only one digit in each place. We need to represent 0 through 15, and we have digits for 0-9, so we choose A-F for the remaining values: 10 11 12 13 14 15 A B C D E F
  • 7. For You to Do: 1. Watch this Hexadecimal and Binary Timer Snap! program run. The top row counts in binary, the middle in decimal, the bottom in hex. Write a description of the hex counter's behavior binary decimals hex
  • 8. Reading Hexadecimal • Base 16 uses powers of sixteen instead of powers of two or ten. • Place values in hexadecimal represent the units place (160 = 1) • the sixteens place (161 = 16) • the two hundred fifty-sixes place (162 = 256) • the four thousand ninety-sixes place (163 = 4096), etc. So, for example: 3B16 = 3 × 161 + 11 × 160 = 48 + 11 = 5910
  • 9. Hex to base 10. To translate from hexadecmial (like 7B3​16​​ ) to base 10: 1. first, write the digits on paper. 2. Then write out the hexadecimal place values. 3. start at the right with 1, 4. then write 16 in the next place to the left, 5. then write 256 (which is 162), and so on. Each new place will be worth 16 times the one to its right. 7 B 3 256 16 1 This means: 7B3​16 = 7⋅256 + 11⋅16 + 3⋅1 = 1792 + 176 + 3 = 1971​10
  • 10. A-F cover the digits after 9: 10 11 12 13 14 15 A B C D E F
  • 11. Sample problem HEX into decimals FF16 FF16 = = (15⋅161 + 15⋅16​0)​10 = (15⋅16 + 15)​10 = 255​10
  • 12. Translate these hexadecimal numerals into base 10 notation: show your work a.AF16 b.5D16 c.1816 d.3E816
  • 13. Translate these hexadecimal numerals into base 10 notation: a.AF16 b.5D16 c.1816 d.3E816 a.AF16 = 17510 b.5D16 = 9310 c.1816 = 2410 d.3E816 = 100010
  • 14. Translate these decimal numbers into hex: show your work a.5510 b.23610 c.200010 d.7510
  • 15. Is “11” the number eleven (in decimal)? Or three (written in binary)? Or is it seventeen ( written in hex)? • A numeral like 11 could mean eleven in the usual decimal notation. • or three if it is a binary numeral • or seventeen in hex notation. • The only way you know that the ”11” doesn't mean eleven is that you have write the base: 11 base 16 or just 11​16 • ​​ (By convention, the base itself is always written in decimal notation.)
  • 16. Writing Hexadecimal: translating decimals (base 10) to Hex (base 16) To translate from base 10 (like 29910 ) to base 16: • first write out the hex place values by multiplying by 16 moving left from the units place until you get to a value larger than your number (4096 for this example). • Then think, "My number is smaller than 4096, so I leave that place blank. But I can subtract a two hundred fifty-six once, so I write a 1 there, • and there's 43 left. Now, I can subtract 2 sixteens, • and there's 11 left. And 11 is B in hex.
  • 17. 299 43 11 0 4096 256 16 1 1 2 11 (B) Now, read the number off: 12B16 =299​10​​ .
  • 18. Translate these decimal numerals to hexadecimal notation: a.59 b.144 c.229 d.316 a.5910 = 3B16 b.14410 = 9016 c.22910 = E516 d.31610 = 13C16
  • 19. Translate these decimal numerals to hexadecimal notation: a.59 b.144 c.229 d.316
  • 20. Translate these decimal numerals to hexadecimal notation: a.3B16 b.E516 c. 9016 d.13C16
  • 21. Learning Objectives: • LO 2.1.1 Describe the variety of abstractions used to represent data. [P3] • LO 2.1.2 Explain how binary sequences are used to represent digital data. [P5]
  • 22. Enduring Understandings: •EU 2.1 A variety of abstractions built upon binary sequences can be used to represent all digital data.
  • 23. Essential Knowledge: 1. EK 2.1.1A Digital data is represented by abstractions at different levels. 2. EK 2.1.1B At the lowest level, all digital data are represented by bits. 3. EK 2.1.1C At a higher level, bits are grouped to represent abstractions, including but not limited to numbers, characters, and color. 4. EK 2.1.1D Number bases, including binary, decimal, and hexadecimal, are used to represent and investigate digital data
  • 24. Essential Knowledge: • 5. EK 2.1.1E At one of the lowest levels of abstraction, digital data is represented in binary (base 2) using only combinations of the digits zero and one. • 6. EK 2.1.1F Hexadecimal (base 16) is used to represent digital data because hexadecimal representation uses fewer digits than binary. • 7. EK 2.1.1G Numbers can be converted from any base to any other base. • 8. EK 2.1.2A A finite representation is used to model the infinite mathematical concept of a number.
  • 25. Essential Knowledge: • 9. EK 2.1.2B In many programming languages, the fixed number of bits used to represent characters or integers limits the range of integer values and mathematical operations; this limitation can result in overflow or other errors. • 10.EK 2.1.2C In many programming languages, the fixed number of bits used to represent real numbers (as floating point numbers) limits the range of floating point values and mathematical operations; this limitation can result in round off and other errors.
  • 26. Essential Knowledge: • 11. EK 2.1.2D The interpretation of a binary sequence depends on how it is used. • 12. EK 2.1.2E A sequence of bits may represent instructions or data. • 13. EK 2.1.2F A sequence of bits may represent different types of data in different contexts. • 14. EK 6.2.2J The bandwidth of a system is a measure of bit rate—the amount of data (measured in bits) that can be sent in a fixed amount of time. • 15. EK 6.2.2K The latency of a system is the time elapsed between the transmission and the receipt of a request.

Editor's Notes

  1. The third page introduces hexadecimal representation, which uses sixteen digits (0-9 and A-F), building on students' understanding of binary. On the fourth page, students learn to translate between hex and binary and about the use of hex in RGB colors. The last page is an optional project in which students build a decimal-to-binary conversion procedure based on and reviewing their work with base 2 representation. Hexadecimal" is often abbreviated just to "hex." Either is fine to use generally, but students should recognize both. Page 3: Hexadecimal Representation. Understand how numbers are stored in hexadecimal notation. Understand how to translate numerals between hexadecimal and decimal notations.
  2. There's no such thing as a "binary number" or a "hexadecimal number." The way we represent a number—as XXXIRoman or 3110 or 111112 or 1F16 or "thirty-one" or "treinta y uno"—is language or notation. The number, itself, is the same, regardless of what language we express it in. It helps the distinction to say "binary numerals" or "binary representation" instead of "binary numbers." Some curriculum materials are less careful. It's not just pedantry; students understand the conversions better when they remain clearly aware that only the notation, not the number, changes. Explicitly making the analogy with Roman numerals may help; students are likely to understand and be able to extend from the idea XXXI and 31 are the same number written different ways.
  3. Page 3: Hexadecimal Representation. Don't teach hex arithmetic. The goal is for students to become familiar with the notation of hex. Consider translating between representations for a few numbers together at the board.