Text representation
The character mapping and byte encoding serve different roles
- Code point An assigned number identifies a character in the supplied mapping
- Encoding A rule such as UTF-8 determines which bytes represent a code point
- Supplied subset The listed code points are below 128 and each uses one byte in UTF-8
Common mistakes
Difficulty levels
Questions about this topic
Does a space have a code?+
Yes, the supplied table assigns the space code point 32
Do I need to memorise the code table?+
No, each task supplies the mapping needed to answer it
Is a code point always the value of one byte?+
No, the encoding determines the stored bytes; the equality used here is limited to the supplied subset
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 7 Digital Technologies, chapter 2: Data representation