Computer Science - 9210 OxfordAQA

Character Encoding

Overview

Memory holds numbers. Text is not numbers. Somewhere between the key you press and the letter that appears there has to be an agreement, written down and obeyed by every piece of hardware and software in the chain, that this particular pattern of bits means the letter H. That agreement is a character set, and the whole reason you can send a message from a phone in one country to a laptop in another and have it arrive readable is that both ends are using the same one.

This lesson covers the two encoding methods the specification names, 7-bit ASCII and Unicode. You will learn what a character set actually is, why the codes inside one are arranged in runs rather than scattered, how to use a given table to go from characters to codes and back, and why a scheme with only 128 codes could not serve a world that writes in hundreds of scripts. You will also meet the single most useful consequence of the sequential arrangement: once you know one code in a group, you can work out the rest by counting.

Objectives

  1. Understand what a character set is and be able to describe the following character encoding methods:
  2. 7-bit ASCII
  3. Unicode. Understand that character codes are commonly grouped and run in sequence within encoding tables.
  4. Describe the purpose of Unicode and the advantages of Unicode over ASCII.
  5. Know that Unicode uses the same codes as ASCII up to 127.

Mind map

This topic is mapped out so you can see how the ideas connect.

Open the mind map in the app

Lesson Note

Suppose you and a friend decide to pass notes in a code where 1 means A, 2 means B and so on. The code works, but only because you both wrote the same list down beforehand. If your friend had numbered the alphabet backwards, every message you sent would arrive as nonsense, and nothing in the numbers themselves would tell either of you which of you was wrong.

Complete Note Available on the Green Bridge App

Get the Green Bridge CBT app on your phone or computer for the complete IGCSE library: past papers, mark schemes, mind maps, flashcards and audio lessons.

Full lesson notes with diagrams
AI-powered learning assistant
Timed mock exams marked the moment you finish
Available on Android, Windows, macOS, and Linux iOS app coming soon

Lesson Evaluation

Congratulations on completing the lesson on Character Encoding. Now that youve explored the key concepts and ideas, its time to put your knowledge to the test. This section offers a variety of practice questions designed to reinforce your understanding and help you gauge your grasp of the material.

You will encounter a mix of question types, including multiple-choice questions, short answer questions, and essay questions. Each question is thoughtfully crafted to assess different aspects of your knowledge and critical thinking skills.

Use this evaluation section as an opportunity to reinforce your understanding of the topic and to identify any areas where you may need additional study. Don't be discouraged by any challenges you encounter; instead, view them as opportunities for growth and improvement.

  1. How many different characters can be represented using 7-bit ASCII? A. 7 B. 64 C. 128 D. 256 Answer: C
  2. In ASCII the character A has the code 65. What is the character code for D? A. 66 B. 67 C. 68 D. 69 Answer: C
  3. Which statement about Unicode is correct? A. Unicode can represent fewer characters than ASCII B. Unicode uses the same codes as ASCII up to 127 C. Unicode uses exactly 7 bits for every character D. Unicode cannot represent the English alphabet Answer: B
  4. The character codes for the lower case letters begin with a at 97. What is the code for the letter d? A. 99 B. 100 C. 101 D. 104 Answer: B
  5. Why are the character codes for the capital letters stored in sequence? A. So that the codes for the rest can be worked out once one is known B. So that capital letters take up less memory than lower case letters C. So that the codes can be stored without using any bits D. So that the same code can mean two different characters Answer: A

Work through these questions in the app

Work through these questions in the app

Practice Mock Questions

Want to practice mock questions on Character Encoding? Download the Green Bridge CBT app to access mock questions and full practice assessments for this topic.

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning