GRADE 8 · COMPUTING · UNIT 4 · LESSON 4.10

Computer systems

ASCII and character encoding

Read a little. Try the workbook. Check your answers. Choose one section below to get started.

Topic 4.10 · ASCII and character encoding8 fillable worksheet pagesRead at your own pace

LET’S TRACE, REASON AND TEST

ASCII and character encoding

A character encoding assigns codes to characters. ASCII uses seven-bit code values from 0 to 127; an eight-bit display may add a leading zero. Uppercase and lowercase letters have distinct codes. For codes above 127, identify the particular eight-bit encoding instead of assuming one universal extended ASCII table.

Today’s two goals
  • Use distinct codes for case-sensitive characters and decode an example message.
  • Explain my method and support it with a labelled trace, example or test record.
Original PaxaKids illustration for ASCII and character encoding. Use the supplied program and data models for precise workbook facts.
An original PaxaKids workbook scene. Use the supplied programs and data for precise workbook facts.

Work through an example

ASCII B has denary code 66, shown in eight columns as 01000010. Lowercase b has code 98, shown as 01100010. Compare the actual codes rather than changing the case of the message during decoding.

Try before your workbook

If A is 65 and a is 97 in the supplied table, should a decoder treat them as the same character?

Explore the clues

Tap one card to find out more.

Understand the idea

A character encoding assigns codes to characters. ASCII uses seven-bit code values from 0 to 127; an eight-bit display may add a leading zero. Uppercase and lowercase letters have distinct codes. For codes above 127, identify the particular eight-bit encoding instead of assuming one universal extended ASCII table.

Concept to practise: ASCII and character encoding.

Work through an example

ASCII B has denary code 66, shown in eight columns as 01000010. Lowercase b has code 98, shown as 01100010. Compare the actual codes rather than changing the case of the message during decoding.

Try before your workbook

If A is 65 and a is 97 in the supplied table, should a decoder treat them as the same character?

Check my readiness thinking

No. They are different characters with different codes. Preserve case, spacing and the code width specified in the task.

Your original programs and learning models

These original PaxaKids program and data models support your workbook. Some examples deliberately contain faults to investigate. Follow their headings and preserve exact code case, punctuation and order. Traces and supplied records are not claims of physical testing.

Connect characters to agreed codes

A character encoding links characters to numeric codes and a way to represent them. Standard ASCII uses seven bits and 128 codes, including control characters as well as letters, digits and punctuation.

In this workbook, each ASCII code is stored in an eight-bit byte by adding a leading zero. That storage convention does not turn standard ASCII into a universal eight-bit extension. The picture’s blank cards are contextual teaching props.

Use a complete original mini-table

Use this supplied lookup for every practice question. It is an original selection checked against the ASCII standard. Letter case matters: uppercase B is 66; lowercase b is 98. Every displayed byte has a leading zero.
Use a complete original mini-table — original model
CharacterDenary codeEight-bit storage
space3200100000
!3300100001
A6501000001
B6601000010
I7301001001
K7501001011
O7901001111
a9701100001
b9801100010

Encode the original C15 sequence

Encode the three characters A, I and ! in that order, with no spaces between them. Write one eight-bit group for each character. Under our stated convention, each character occupies one byte. Count the bytes and bits, ignoring file metadata and headers.
Encode the original C15 sequence — original model
Requested itemAnswer
Eight-bit group for A{'clue': 'Eight bits', 'prompt': 'Byte for uppercase A', 'answers': ['01000001']}
Eight-bit group for I{'clue': 'Eight bits', 'prompt': 'Byte for uppercase I', 'answers': ['01001001']}
Eight-bit group for !{'clue': 'Eight bits', 'prompt': 'Byte for exclamation mark', 'answers': ['00100001']}
Number of bytes for AI!{'clue': 'Byte count', 'prompt': 'Stored bytes for AI!', 'answers': ['3']}
Number of bits for AI!{'clue': 'Bit count', 'prompt': 'Stored bits for AI!', 'answers': ['24']}

Decode with case preserved

Read the groups 01001111 01001011 using the mini-table. Keep letter case exactly as indicated; uppercase and lowercase versions are distinct characters in ASCII.

Lowercase b has denary code 98 and byte 01100010. Code 66 represents uppercase B. A code identifies the character; the chosen font affects how it is drawn.

Compare a reliable lookup method

First split the message into the stated eight-bit groups. Next find each exact group in the supplied reference. Then write the characters in the same order and check them by encoding them back.

Record a source only if you actually consult it. A supplied reference helps you work offline; it is not evidence that you searched the web or exchanged findings with a partner. The picture is an original decoding workshop scene.

Trusted ASCII reference: RFC 20. A teacher can provide an offline copy.

Count an inserted space explicitly

Now insert one space between A and I!, producing A I!. The space is a stored character under this convention. The message now has four characters: A, space, I and !. Group separators printed between bytes are not additional stored spaces unless the message includes them.
Count an inserted space explicitly — original model
Requested itemAnswer
Extra eight-bit group for the inserted space{'clue': 'Eight bits', 'prompt': 'Byte for space', 'answers': ['00100000']}
New byte count for A I!{'clue': 'Byte count', 'prompt': 'Stored bytes with one space', 'answers': ['4']}
New bit count for A I!{'clue': 'Bit count', 'prompt': 'Stored bits with one space', 'answers': ['32']}

Explain the limits of the encoding

Standard ASCII does not cover all writing systems. Eight bits allow 256 patterns, but “extended ASCII” does not name one universal table: a particular encoding must be specified.

Unicode supports characters across many writing systems. Its encodings have their own storage rules, so our one-byte-per-ASCII-character exercise is not a rule for every text file.

Encoding represents data. An ASCII message is not protected merely because it is written as binary.

Files for this activity

Use these original PaxaKids practice files with the matching workbook. Work on a local copy in the appropriate editor. Some examples deliberately contain faults to investigate; a downloaded file is not a completed practical test.

Paxa the Fox

Try one step with Paxa!

Follow the model and explain the labels, values and decisions. Use fictional data. Label a paper prediction, simulation and actual practical test separately; an unperformed test stays Pending. Save personal responses before leaving.

Our Unit 4 learning path
  1. Lesson 4.1: Primary memory and the processor
  2. Lesson 4.2: The role of RAM
  3. Lesson 4.3: The role of ROM and comparison
  4. Lesson 4.4: Operating-system purpose and examples
  5. Lesson 4.5: Interface, memory and user accounts
  6. Lesson 4.6: Files, applications and devices
  7. Lesson 4.7: Utility software and maintenance
  8. Lesson 4.8: Denary and binary place value
  9. Lesson 4.9: Converting values and extending to eight bits
  10. Lesson 4.10: ASCII and character encoding
  11. Lesson 4.11: Compression, reconstruction and purpose
  12. Lesson 4.12: Truth-table structure and possible inputs
  13. Lesson 4.13: NOT, AND and OR outputs
  14. Lesson 4.14: Complete, check and communicate tables
  15. Lesson 4.15: AI rules and learning from examples
  16. Lesson 4.16: What augmented reality adds
  17. Lesson 4.17: AR in entertainment, retail and education
  18. Lesson 4.18: Autonomous programming, sensors and robotics
  19. Lesson 4.19: Designing and explaining a robot
  20. Lesson 4.20: Project: Technology work placement
  21. Lesson 4.21: Check your progress 4
For grown-ups: using this lesson

Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.

Read one explanation, discuss the model and try the readiness check before the workbook. Choose “Mark lesson finished” when ready. Optional account progress saves lesson position and completion across devices; save personal responses before leaving.

2. Fill in your workbook

Read the teaching and complete workbook instructions. Choose, write or draw; Answer list offers larger controls. Trace code precisely and distinguish predictions from actual tests. Review designs, explanations and drawings with a grown-up.

ASCII and character encoding8 student pages · original artwork

Opening your PDF…

Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.

TAKE YOUR PRACTICE OFFLINE

3. Download the student worksheet

All 8 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.

Student worksheet only · PDF · 8.0 MiB · No answer key included

Download worksheet PDF ↓

TRY FIRST, THEN CHECK TOGETHER

Download the student worksheet →

4. Answers & guidance

Finished your try? Open the guide and compare one worksheet at a time. Your own words may be different and still explain the right idea.

Shown on this webpage only. There is no answer-key download, and this guide is left out when printing the page.

Show answers for all 8 worksheets

Worksheet 1

  1. Question 1: Which description of standard ASCII is accurate? seven-bit codes, with 128 possibilities including controls

Worksheet 2

This page introduces the activity. There are no marked responses on this sheet.

Worksheet 3

  1. Question 2: Byte for uppercase A 01000001
  2. Question 3: Byte for uppercase I 01001001
  3. Question 4: Byte for exclamation mark 00100001
  4. Question 5: Stored bytes for AI! 3
  5. Question 6: Stored bits for AI! 24

Worksheet 4

  1. Question 7: Which exact message is represented by the two groups? OK
  2. Question 8: What is the denary ASCII code for lowercase b? 98
  3. Question 9: Why do A and a have different ASCII codes? they are distinct characters whose case must be preserved
  4. Question 10: If A appears twice in one ASCII message, what happens to its code? the same A code can be used both times

Worksheet 5

  1. Question 11: Which step best checks a decoded message? encode the result back and compare each original group

Worksheet 6

  1. Question 12: Byte for space 00100000
  2. Question 13: Stored bytes with one space 4
  3. Question 14: Stored bits with one space 32
  4. Question 15: Which space must be counted as message data? the inserted space between A and I!

Worksheet 7

  1. Question 16: Which statement about eight-bit extensions is accurate? the particular encoding must be identified
  2. Question 17: Which statement about Unicode is accurate? it supports characters across many writing systems
  3. Question 18: Does writing a message in ASCII binary make it a secure secret? no; encoding alone is not secret protection

Worksheet 8

  1. Question 19: Use the supplied table and consult the linked trusted ASCII reference or a teacher-provided offline copy. Record what you actually consult, or mark that consultation Pending. Decode 01001111 01001011 00100001 with exact case and punctuation. Show the lookup steps and encode the result back to check every group. Create and encode another two-to-four-character message using only the mini-table, then verify its reconstruction and byte/bit count. Compare methods with a partner, recording the actual discussion or Pending. Retain both messages, your source note, one correction and a next step. Decode exactly OK!: codes 79, 75 and 33 represent O, K and !. Show accurate lookup and reverse encoding. A new two-to-four-character sequence uses the supplied set, preserves case and reconstructs exactly. Under the stated convention, bytes equal the character count and bits equal eight times that count, ignoring metadata. Record actual reference consultation and partner discussion or Pending, with truthful source notes. Retain complete work, a correction and next step. Public encoding is not encryption. No numerical grading. Grown-up review; personal evidence is required.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore ASCII and character encoding with this free Grade 8 Computing lesson. Read one idea together, try the fillable workbook and return to review at your own pace. Download the same student worksheet PDF for pencil-and-paper practice.

Fit learning around your family’s day. There is no timer and no sign-up is needed to use the lesson. An optional account saves your lesson position and completion across devices. Workbook responses and drawings stay in this tab; save a copy of your responses before leaving.

Understand your results

Closed answers are checked in your browser. Drawings and written explanations need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.

Choose Review Answers after trying the activity. The guide stays on the webpage; the worksheet download contains only the student pages.

For programme background, visit the Cambridge Lower Secondary Computing overview. PaxaKids provides independent original companion practice.

Book page references identify the related teaching topic. File-management and responsible-data preparation are original PaxaKids material; orientation or contents pages are not presented as teaching citations for those skills. The explanations, characters, programs and exercises here are original PaxaKids companion practice. Practical tasks require the appropriate editor and, where applicable, suitable equipment. A design or paper trace is not a verified hardware result. Only completed, reviewed lessons are listed.

Explore the Cambridge Lower Secondary Computing curriculum for programme background. PaxaKids is an independent learning resource.