OCR J277 GCSE Computer Science · 1.1 Systems Architecture

Stretch tasks Embedded Systems

Task 1

Quiz Challenge

A quiz game against four computer players, then short and long written answers.

  1. Quiz Blitz12 questions against the clock
  2. Quick Fire4 short answers
  3. Big Think2 long answers

About 20 minutes

Task 2

This or That

Pixel the cat asks 8 questions. Each has two answers: pick the right one.

  • Two answers to every question
  • A fish treat for every right answer
  • Streaks win Pixel shades, then a party hat

About 4 minutes

Task 3

Memory Match

Flip the cards two at a time to match each term card to its meaning card.

  • 12 cards: each term has a meaning
  • One peek at every card
  • Combo points for pairs found in a row

6 pairs, about 4 minutes

Task 4

Sort It

Sort each statement into the right box, like the tick-box tables in the exam.

  • 10 cards to sort into 2 boxes
  • Drag a card, tap a box or press its number
  • Combo points for cards sorted in a row

10 cards, about 4 minutes

The games need JavaScript. Every question is below, with the answers at the end.

Read the lesson: Embedded Systems

Embedded Systems: the questions

Quiz Challenge, round 1: Quiz Blitz

  1. What is an embedded system?

    • A computer that can run any program the user installs
    • A program stored on a hard drive
    • A network of computers in one building
    • A computer built into a larger device to do one dedicated task
  2. Which THREE are embedded systems?

    Tick 3.

    • Laptop
    • Smartphone
    • Washing machine controller
    • Pacemaker
    • Traffic light controller
  3. A smartphone is an embedded system.

    • True
    • False
  4. Where is an embedded system's program usually stored?

    • ROM
    • RAM
    • Cache
    • A USB stick
  5. Why is an embedded system cheap to make?

    • It can run any program
    • It only needs the hardware its one task requires
    • It has no software at all
    • It runs a full operating system
  6. Embedded systems are designed to use very little power.

    • True
    • False
  7. What is the test for whether a computer is general purpose?

    • Does it have a CPU?
    • Can the user install whatever software they like?
    • Does it have a screen?
    • Is it connected to the internet?
  8. What name is given to a system that must respond to inputs within a guaranteed time, such as anti-lock brakes?

  9. Which TWO are disadvantages of an embedded system?

    Tick 2.

    • It is unreliable
    • It can only do the task it was built for
    • Its software can be hard or impossible to update
    • It uses a lot of power
    • It is expensive to make in volume
  10. Why are embedded systems so reliable?

    • They have the fastest processors
    • They run a full operating system
    • The task is fixed and well tested, so there is less to go wrong
    • They are always connected to the internet
  11. A microwave controller has very little processing power. Why is that a good design choice?

    • It lets the microwave run more programs
    • It lets the user install new apps
    • It means the microwave needs no ROM
    • It keeps the cost, size and power use down
  12. Some embedded systems run a small real-time operating system.

    • True
    • False

Quiz Challenge, round 2: Quick Fire

  1. Give two features of an embedded system. [2 marks]

  2. Explain why a laptop is not an embedded system. [2 marks]

  3. Give one advantage and one disadvantage of using an embedded system, rather than a general purpose computer, to control a washing machine. [2 marks]

  4. Explain why the program for an embedded system is often stored in ROM. [2 marks]

Quiz Challenge, round 3: Big Think

  1. Compare embedded systems with general purpose computers. [6 marks]

  2. A pacemaker is controlled by an embedded system. Explain why an embedded system is suitable for this device. [4 marks]

This or That: tick the right answer

  1. Which needs more processing power?

    • A gaming laptop
    • A dishwasher controller
  2. Which of these is a general purpose computer?

    • A tablet
    • A traffic light controller
  3. Why do embedded systems use so little power?

    • They are switched off most of the time
    • Their hardware is matched to one task
  4. Which kind of memory holds a washing machine's wash programs?

    • Cache
    • ROM
  5. Updating an embedded system's software is usually...

    • As easy as installing an app
    • Hard, or impossible without a new chip
  6. Anti-lock brakes must react within a guaranteed time. What kind of system is that?

    • A real-time system
    • A general purpose system
  7. For a manufacturer, why is an embedded system's lack of flexibility useful?

    • Customers can add their own features
    • Fewer possibilities mean fewer faults
  8. Is a fitness tracker an embedded system?

    • No: anything worn on the body is general purpose
    • Yes: it is built for a few dedicated tasks

Memory Match: match each term to its meaning

TermMeaning
A Embedded system1 The one job a system is built for
B General purpose2 An embedded system inside the body
C ROM3 Must respond within a guaranteed time
D Real-time system4 A computer built into a device for one task
E Dedicated function5 Non-volatile memory holding a fixed program
F Pacemaker6 Runs many programs the user chooses

Sort It: tick one box in each row

Embedded system or general purpose computer?

StatementEmbedded systemGeneral purpose
Uses very little power and is cheap to make in volume
A smartphone running apps chosen by its owner
Its program is fixed and stored in ROM
Has a powerful processor to cope with unpredictable demands
Lets the user install any software they like
A few buttons and lights are its whole user interface
Controls the wash cycles in a washing machine
Has a keyboard, a large screen and expansion slots
Usually runs a full operating system such as Windows
The engine management system in a car
Answers

Round 1: Quiz Blitz

  1. A computer built into a larger device to do one dedicated task The computer is not the product: the washing machine is, and the computer inside just runs it.
  2. Washing machine controller; Pacemaker; Traffic light controller Laptops and smartphones run software the user chooses, so they are general purpose.
  3. False Its owner installs whatever apps they like, which makes it a general purpose computer.
  4. ROM The fixed program sits in non-volatile ROM, so it is there every time the device powers on.
  5. It only needs the hardware its one task requires The designer knows exactly what the task needs, so everything else is stripped out.
  6. True Hardware matched to one task needs little power, which suits battery devices such as fitness trackers.
  7. Can the user install whatever software they like? Embedded systems have CPUs and some have screens, but their software is fixed.
  8. real time A real-time system must respond within a guaranteed time limit. Brakes cannot wait.
  9. It can only do the task it was built for; Its software can be hard or impossible to update The trade off is flexibility: one task only, and updates may need a new chip.
  10. The task is fixed and well tested, so there is less to go wrong Fewer possibilities means fewer things that can fail.
  11. It keeps the cost, size and power use down Low power is deliberate: the task does not need more, so extra power would only add cost and heat.
  12. True Many have no operating system at all, but some run a small real-time one. Never say they never have one.

Round 2: Quick Fire

    • It performs one dedicated task
    • It is built into a larger device
    • It uses little power
    • It is small and cheap
    • Its program is fixed, stored in ROM
    • It is very reliable
    Model answer

    It performs one dedicated task, and it is built into a larger device, such as the controller inside a washing machine.

    • It is general purpose: it runs many different programs
    • The user can install whatever software they like
    Model answer

    A laptop is a general purpose computer: it runs many different programs, and the user can install whatever software they like.

    • Advantage: cheaper, smaller, lower power or more reliable
    • Disadvantage: it cannot do anything else, or is hard to update
    Model answer

    Advantage: it is cheaper and more reliable, because it only has the hardware the wash cycles need. Disadvantage: it cannot do anything else, and its software is hard to update.

    • ROM is non-volatile, so the program is kept when the power is off
    • The program never needs to change, and cannot be changed by accident
    Model answer

    ROM is non-volatile, so the program is not lost when the device is switched off and is ready as soon as it is turned on. The program is fixed and never needs to change, and it cannot be changed by accident.

Round 3: Big Think

    • Embedded: one dedicated task. General purpose: many different tasks
    • Embedded software is fixed in ROM; general purpose lets the user install software
    • Embedded systems use very little power
    • Embedded systems are cheaper
    • Embedded systems are smaller
    • Embedded systems are more reliable
    • Embedded: a few buttons and lights. General purpose: keyboard, screen and more
    • Embedded: no OS or a small real-time one. General purpose: a full operating system
    Model answer

    An embedded system performs one dedicated task, while a general purpose computer runs many different tasks. An embedded system's software is fixed and stored in ROM, whereas a general purpose computer lets the user install whatever software they like. Embedded systems use very little power, are cheaper and smaller, and are more reliable because there is less to go wrong. They often have a limited interface of a few buttons and lights, and either no operating system or a small real time one, while a general purpose computer has a keyboard, a screen and a full operating system such as Windows.

    • It is small enough to fit inside the body
    • It uses very little power, so the battery lasts for years
    • The task is fixed and well tested, so it is very reliable
    • It can respond in real time to the heartbeat
    • It only needs to carry out one dedicated task
    Model answer

    A pacemaker has one dedicated task, keeping the heart beating steadily, so an embedded system can be designed just for it. It is small enough to fit inside the body, and it uses very little power, so the battery lasts for years. Because the task is fixed and well tested, it is very reliable, which matters when a life depends on it. It can also respond in real time to the heartbeat.

This or That

  1. A gaming laptop The dishwasher's computer only runs wash cycles, so its processor is matched exactly to that small job.
  2. A tablet A tablet runs whatever apps its user installs. A traffic light controller does one job.
  3. Their hardware is matched to one task The designer strips out everything the task does not need, so there is less hardware to power.
  4. ROM The fixed programs live in non-volatile ROM, so they survive when the machine is unplugged.
  5. Hard, or impossible without a new chip The software is fixed, often in ROM, so changing it may mean replacing the chip.
  6. A real-time system Brakes cannot wait, so the system must respond within a guaranteed time limit.
  7. Fewer possibilities mean fewer faults If the device can only do one thing, far less can go wrong, so it is more reliable.
  8. Yes: it is built for a few dedicated tasks It counts steps and measures heart rate: a small set of dedicated tasks, so it is embedded.

Memory Match

  • A 4 Embedded system: A computer built into a device for one task
  • B 6 General purpose: Runs many programs the user chooses
  • C 5 ROM: Non-volatile memory holding a fixed program
  • D 3 Real-time system: Must respond within a guaranteed time
  • E 1 Dedicated function: The one job a system is built for
  • F 2 Pacemaker: An embedded system inside the body

Sort It

  1. Embedded system Uses very little power and is cheap to make in volume Hardware matched to one task keeps power use and cost down.
  2. General purpose A smartphone running apps chosen by its owner The owner chooses the apps, so a smartphone is general purpose.
  3. Embedded system Its program is fixed and stored in ROM Embedded systems run a fixed program that rarely, if ever, changes.
  4. General purpose Has a powerful processor to cope with unpredictable demands A general purpose computer cannot know what its user will run next, so it needs power to spare.
  5. General purpose Lets the user install any software they like Being able to install your own software is the test for a general purpose computer.
  6. Embedded system A few buttons and lights are its whole user interface Embedded systems need very limited interfaces, such as a microwave's keypad.
  7. Embedded system Controls the wash cycles in a washing machine A washing machine controller does one dedicated job inside a larger device.
  8. General purpose Has a keyboard, a large screen and expansion slots General purpose computers need a rich interface because users do many different things.
  9. General purpose Usually runs a full operating system such as Windows A full operating system is needed to manage many programs chosen by the user.
  10. Embedded system The engine management system in a car It does one dedicated job inside a larger product: the car.