GRADE 7 · COMPUTING · UNIT 5 · LESSON 5.8

Living with AI: Digital data

Representing data: Sound and text

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

7 fillable worksheet pagesRead at your own pace

LET’S TRACE, REASON AND TEST

Representing data: Sound and text

Sound can be sampled and represented digitally for processing. Text characters can be represented by codes such as ASCII. Preserve case when encoding: a capital letter and its lower-case form have different codes.

Today’s two goals
  • Explain why analogue microphone input must be represented digitally for computer processing.
  • Encode and decode a short text using an ASCII conversion chart while preserving letter case.
Original PaxaKids illustration for Representing data: Sound and text. Precise program text and data are supplied in the workbook models.
An original PaxaKids workbook scene. Use the supplied programs and data for precise workbook facts.

Explore the clues

Tap one card to find out more.

Understand the idea

Sound can be sampled and represented digitally for processing. Text characters can be represented by codes such as ASCII. Preserve case when encoding: a capital letter and its lower-case form have different codes.

Concept to practise: Representing data: Sound and text.

Work through an example

ASCII capital A is 65, shown in an eight-bit byte as 01000001. Lower-case a is 97, shown as 01100001. ASCII itself is a seven-bit code; the extra leading zero is the byte presentation used in this example.

Try before your workbook

Would changing the first letter of 'Hello' to lower-case leave every character code unchanged? Which hardware supplies spoken input and which produces spoken output?

Check my readiness thinking

No: H and h have different ASCII values. Keep all other character positions unchanged when checking the difference. A microphone supplies sound input; a speaker produces sound output. Encoding data is distinct from recognising its meaning.

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.

Capture sound and images as input

A microphone captures sound. A camera captures image data. A processor carries out program instructions, which may include a model task such as recognising speech or identifying a possible object.

A speaker produces sound output. A digital microphone or camera can perform conversion within the device before sending digital data to the computer.

Represent analogue sound digitally

An analogue sound signal varies continuously. A digital recording takes samples at intervals, represents measured levels using available numeric values and encodes them in binary. This original graph illustrates sampling; it is not a recording made by a learner.
Represent analogue sound digitally — original audio samples model. Refer to the adjacent explanation and original student workbook for labels.
Represent analogue sound digitally · original PaxaKids workbook model.

Represent text with character codes

ASCII assigns codes to characters. It is a seven-bit code, often shown inside an eight-bit byte with a leading 0. Upper-case and lower-case letters have different codes. Modern text can use other encodings.
Represent text with character codes — original model
CharacterDecimal codeShown as eight bits
A6501000001
a9701100001
H7201001000
h10401101000
space3200100000
!3300100001

Preserve letter case when encoding

Preserve letter case when encoding — original model
TextEight-bit groups in order
Hi01001000 01101001
HI01001000 01001001
Hi!01001000 01101001 00100001
A a01000001 00100000 01100001

Connect research to a specific input task

Use these primary research starters or another appropriate original source:

Google Cloud Vision: label detection explains detecting possible entities in images.

Google Cloud Speech-to-Text overview explains recognition from audio data, including live microphone input.

Explain the task in your own words. An illustration or product description does not prove that a learner has run the system. Record which claims your source supports.

Practice files for this lesson

Save a copy of these original PaxaKids learner files before editing in suitable software. Some code and datasets deliberately need completion or repair. Downloading a file does not run it. Use invented data; record actual tests separately from predictions. Native software practice files are not print-optimised; use the student PDF for printing.

Paxa the Fox

Try one step with Paxa!

Use supplied fictional records. Do not disclose personal details, upload private photos or bypass browser warnings to complete an activity. Save personal responses before leaving.

Our Unit 5 learning path
  1. Lesson 5.1: Applications and systems software
  2. Lesson 5.2: AI around us
  3. Lesson 5.3: AI in industry
  4. Lesson 5.4: Collecting the input
  5. Lesson 5.5: Designing your own AI system
  6. Lesson 5.6: Representing data: Images
  7. Lesson 5.7: Vector graphics
  8. Lesson 5.8: Representing data: Sound and text
  9. Lesson 5.9: Introduction to logic gates
  10. Lesson 5.10: Types of logic gate
  11. Lesson 5.11: Smart-city design and extended logic circuits
  12. Lesson 5.12: Final project: School AI learning-system design
  13. Lesson 5.13: Evaluation
  14. Lesson 5.14: What can you do?
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 the 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.

Representing data: Sound and text7 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 7 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.4 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 7 worksheets

Worksheet 1

  1. Question 1: Which device captures speech as sound input? microphone
  2. Question 2: Which device is suitable for image input? camera

Worksheet 2

  1. Question 3: What do the red dots represent? samples of the signal at equally spaced times
  2. Question 4: Why represent sound digitally for computer processing? so sampled values can be encoded, stored and processed as digital data

Worksheet 3

  1. Question 5: Which statement is correct? A and a have different ASCII codes

Worksheet 4

  1. Question 6: What does 01001000 01101001 decode to? Hi
  2. Question 7: Write the eight-bit code for capital A. 01000001
  3. Question 8: Write the eight-bit code for lower-case a. 01100001

Worksheet 5

  1. Question 9: Which explanation correctly connects input to processing? microphone audio is processed to recognise possible spoken words
  2. Question 10: Which research record is useful? application, input, AI task, output, source and limitation

Worksheet 6

  1. Question 11: Research AI applications that use camera images or microphone audio. Make a list covering both input types. Explain what each application does with its input, the output and one limit. Use the rows below as a starting point and keep source titles, links, dates and supported claims in SoundTextRecord_Paxa.txt. Identify the actual AI task rather than assuming every camera or microphone device is AI. Research list covers camera/image and microphone/audio inputs, with specific applications, input data, model task and output. E.g image-label detection from photos; speech recognition from audio; other researched application accepted. Camera captures image data, microphone captures sound; speaker is output. Actual function and suitable limits, sources tied to claims, no claim of personally testing when only researched. Additional row is a scaffold, not an invented official count requirement. No numeric scores. Grown-up review; personal evidence is required.

Worksheet 7

  1. Question 12: Use ASCIIChart_Paxa.docx to write a short message to a partner. Include at least one capital and one lower-case letter. Encode every character, including spaces and punctuation, as an eight-bit group with a leading 0. Exchange and decode the messages, preserving case. Record both versions, any mismatch and correction, or mark the exchange pending. Explain how digital sound samples differ from character codes. Reversible short message, at least one uppercase/lowercase letter with exact case. Printable ASCII32–126 chart used, one eight-bit group per character with leading0, spaces00100000 and punctuation retained. Partner encoded message decoded exactly or pending; errors identified/repaired without inventing interaction. ASCII is7-bit commonly shown in8-bit byte, not universal modern text encoding. Sound stores encoded sampled/quantised levels; text stores character codes, not a sound waveform. No numeric scoring. Grown-up review; personal evidence is required.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Representing data: Sound and text with this free Grade 7 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

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.

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.

The book pages identify the related teaching topic. 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.