Character encoding defines how computers represent text by mapping characters to unique binary codes. Students must understand the purpose and mechanics of
Topic Synopsis
Character encoding defines how computers represent text by mapping characters to unique binary codes. Students must understand the purpose and mechanics of 7-bit ASCII and Unicode, including how to use encoding tables to convert between characters and their binary or decimal representations.
Key Concepts & Core Principles
- Binary and denary conversion: Understand how to convert between base-2 (binary) and base-10 (denary) numbers, including the use of place values (powers of 2).
- Character encoding: Know the difference between ASCII (7-bit, 128 characters) and Unicode (16-bit or more, covering global scripts), and why Unicode is necessary for international text.
- Bitmap images: Learn how images are stored as a grid of pixels, each with a binary colour code determined by colour depth (bits per pixel). Understand how resolution and colour depth affect file size.
- Sound sampling: Understand how sound waves are digitised by taking samples at regular intervals (sample rate) and storing each sample's amplitude as a binary value (bit depth). Know the impact of sample rate and bit depth on quality and file size.
- Units of data: Be able to convert between bits, bytes, kilobytes, megabytes, gigabytes, and terabytes, and understand that data is measured in powers of 2 (e.g., 1 KiB = 1024 bytes).
Exam Tips & Revision Strategies
- Always check if an exam question provides a specific character encoding table to use for conversions
- Remember that character codes for 'A'-'Z', 'a'-'z', and '0'-'9' are sequential in standard encoding tables
- When asked for the advantage of Unicode, focus on the ability to represent a wider range of alphabets and special symbols compared to ASCII
- Always show your working out for file size calculations to gain method marks
- Double-check if the question asks for the answer in bits or bytes
- When converting binary to images, draw a grid to help visualise the pixel mapping
- Remember that colour depth is the number of bits per pixel, not the total number of colours
- Always double-check the number of bits used in your answer to ensure it does not exceed the 8-bit limit.
Common Misconceptions & Mistakes to Avoid
- Confusing the number of bits in ASCII (7-bit) with a full byte (8-bit)
- Failing to recognize that character codes for letters and digits run in a continuous sequence
- Assuming Unicode is a specific version like UTF-8 or UTF-16 rather than a general standard
- Misinterpreting the requirement to use a provided table during exam questions
- Confusing bits and bytes in file size calculations
- Forgetting to divide by 8 when converting bits to bytes
Examiner Marking Points
- Definition of a character set
- Description of 7-bit ASCII
- Description of Unicode
- Conversion of characters to character codes using a provided table
- Conversion of character codes to characters using a provided table
- Explanation of character code sequencing (e.g., 'A' is 65, 'B' is 66)
- Explanation of the purpose of Unicode and its advantages over ASCII
- Definition of a pixel as a picture element