Year 6 - 9781009320566 - 2 - 2
Year 6 - 9781009320566 - 2 - 2
Primary Computing
Learner’s Book 6
Ceredig Cattanach-Chell, Luke Craig
& Sarah Matthews
✓
✓
Second
Digital edition
access
y y y y
ev
ity
R
rs
ve
t-
en
ni
U
m
ge
ss
se
id
br
As
Shaftesbury Road, Cambridge CB2 8EA, United Kingdom
am
One Liberty Plaza, 20th Floor, New York, NY 10006, USA
y
op
&
477 Williamstown Road, Port Melbourne, VIC 3207, Australia
-C
C
314–321, 3rd Floor, Plot 3, Splendor Forum, Jasola District Centre, New Delhi – 110025, India
es
w
103 Penang Road, #05–06/07, Visioncrest Commercial, Singapore 238467
y
Pr
op
ie
Cambridge University Press is part of the University of Cambridge.
ev
ity
C
R
education, learning and research at the highest international levels of excellence.
rs
w
ie
ve
t-
www.cambridge.org
ev
en
ni
R
m
This publication is in copyright. Subject to statutory exception
ge
ss
and to the provisions of relevant collective licensing agreements,
no reproduction of any part may take place without the written
se
id
As
20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
am
y
Printed in Malaysia by Vivar Printing
op
&
-C
A catalogue record for this publication is available from the British Library
s
C
es
w
ISBN 978-1-009-32055-9 Digital Learner's Book (1 Year)
y
Pr
op
ie
ev
Additional resources for this publication at www.cambridge.org/go
ity
C
R
rs
w
ve
t-
and does not guarantee that any content on such websites is, or will remain,
accurate or appropriate. Information regarding prices, travel timetables, and other
ev
en
ni
factual information given in this work is correct at the time of first printing but
R
Cambridge University Press does not guarantee the accuracy of such information
m
thereafter.
ge
ss
se
id
br
As
am
y
op
&
-C
NOTICE TO TEACHERS
es
ie
(i) where you are abiding by a licence granted to your school or institution by the
Copyright Licensing Agency;
ev
ity
C
(ii) where no such licence exists, or where you wish to exceed the terms of a licence,
-R
and you have gained the written permission of Cambridge University Press;
rs
w
(iii) where you are allowed to reproduce without permission under the provisions
ie
ve
of Chapter 3 of the Copyright, Designs and Patents Act 1988, which covers, for
t
ev
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
ge
ss
Endorsement statement
se
id
br
Endorsement indicates that a resource has passed Cambridge International’s rigorous
As
quality-assurance process and is suitable to support the delivery of a Cambridge
am
y
International curriculum framework. However, endorsed resources are not the only
op
&
suitable materials available to support teaching and learning, and are not essential to be
-C
used to achieve the qualification. Resource lists found on the Cambridge International
C
es
website will include this resource and other endorsed resources.
w
y
Pr
Any example answers to questions taken from past question papers, practice questions,
op
ie
accompanying marks and mark schemes included in this resource have been written
ev
ity
C
by the authors and are for guidance only. They do not replicate examination papers.
In examinations the way marks are awarded may be different. Any references to
R
rs
w
ve
the Cambridge International curriculum framework requirements. Examiners will
t-
not use endorsed resources as a source of material for any assessment set by
ev
en
ni
Cambridge International.
R
m
While the publishers have made every attempt to ensure that advice on the qualification
ge
ss
and its assessment is accurate, the official curriculum framework, specimen assessment
materials and any associated assessment guidance materials produced by the awarding
se
id
body are the only authoritative source of information and should always be referred to
for definitive guidance. Cambridge International recommends that teachers consider
br
As
using a range of teaching and learning resources based on their own professional
am
y
judgement of their students’ needs.
op
&
-C
Cambridge International has not paid for the production of this resource, nor does
s
C
Cambridge International receive any royalties from its sale. For more information
es
w
y
www.cambridgeinternational.org/endorsed-resources
Pr
op
ie
ev
Cambridge International copyright material in this publication is reproduced under licence
ity
C
R
rs
w
Third-party websites and resources referred to in this publication have not been endorsed
ie
ve
t-
by Cambridge Assessment International Education.
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
3
op
&
-C
C
es
R
rs
ve
t-
Introduction
en
ni
U
m
ge
ss
Introduction
se
id
br
As
am
y
op
&
-C
C
es
Digital technology has changed the world over the past 50 years.
w
y
Pr
op
ie
We use technology in so many areas of our life, it is more important
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
• learn how data is collected and stored on a computer system
se
id
y
op
&
These computing ideas are not only part of our daily lives, but can be part
-C
C
of certain jobs that people do. People can have an entire career within
es
w
y
computing, and learning about computing here may just be the start of your
Pr
op
ie
future in computing! Using the computing knowledge and skills that you learn
ev
ity
C
from this book, you’ll gain a sense of how people who work in computing
R
rs
w
may carry out parts of their jobs. For example, programmers often work on
ie
ve
t-
projects as part of a team, and work together to test that their programs
ev
en
ni
work. Perhaps you could find a friend at school to work on a project with you.
R
ss
As
are used.
y
op
&
-C
Pr
op
ie
ve
en
ni
R
m
ge
ss
As
am
4
y
op
&
-C
C
es
R
rs
ve
t-
Contents
en
ni
U
m
ge
ss
Contents
se
id
br
As
am
y
op
&
-C
C
How to use this book 6
es
w
y
Pr
1 Computational thinking and programming
op
ie
ev
ity
C
R
rs
w
ve
t-
1.3 Sub-routines 34
ev
en
ni
m
1.5 Evaluating and testing programs 67
ge
ss
1.6 Using variables with a physical device 77
se
id
br
2 Managing data
As
am
y
2.1 Capturing data 95
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
ve
t-
ev
4 Computer systems
ge
ss
As
y
op
&
w
y
Pr
Glossary 234
op
ie
ev
Acknowledgements 247
ity
C
-R
rs
w
ie
Note for teachers: Throughout the resource there is a symbol to indicate where additional digital only content is
ve
provided. This content can be accessed through the Digital Learner’s Book on Cambridge GO. It can be launched
t
ev
en
ni
either from the Media tab or directly from the page. The symbol that denotes additional digital content is: .
The source files can also be downloaded from the Source files tab on Cambridge GO. In addition, this tab contains
R
a teacher guidance document which supports the delivery of digital activities and programming tasks in this
ge
ss
Learner’s Book.
se
id
br
As
am
5
y
op
&
-C
C
es
R
rs
ve
t-
How to use this book
en
ni
U
m
ge
ss
How to use this book
se
id
br
As
am
y
op
&
-C
C
es
In this book you will find lots of different features to help your learning.
w
y
Pr
op
ie
ev
What you will learn in
ity
C
the topic.
R
rs
w
ie
ve
t-
ev
en
ni
R
m
Important words
ge
ss
to learn.
se
id
br
As
am
y
op
&
A reminder about what you
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
ss
a computer.
id
br
As
am
w
y
ie
about computing.
ev
ity
C
-R
rs
w
ve
en
ni
m
ge
ss
se
id
br
As
am
6
y
op
&
-C
C
es
R
rs
ve
t-
How to use this book
en
ni
U
m
ge
ss
Tasks to help you to practise
se
id
what you have learnt.
br
As
am
y
Programming tasks are in
op
&
Unit 1.
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
Practical tasks are in
ge
ss
Unit 2.
se
id
br
y
to do an activity at the computer
op
&
-C
C
es
w
y
Pr
op
ie
ev
Cambridge GO. Your teacher
ity
C
ve
t-
ev
ss
se
id
br
As
am
y
op
&
-C
Pr
op
ie
ev
ity
C
-R
rs
w
ve
to the topic.
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
7
y
op
&
-C
C
es
R
rs
ve
t-
How to use this book
en
ni
U
m
ge
ss
Questions to help you think
se
id
about how you learn.
br
As
am
y
op
&
-C
C
What you have learnt
es
in the topic.
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
At the end of each unit, there
ev
en
ni
m
using what you have learnt.
ge
ss
You might make something
se
id
or solve a problem.
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
Questions that cover what you
ev
en
ni
ss
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
8
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
Computational
U
1
m
ge
ss
se
id
br
As
thinking and
am
y
op
&
-C
C
es
w
y
Pr
op
programming
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
m
ge
ss
se
id
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
decision
ev
ity
C
flowchart
R
rs
w
input
ie
ve
t-
output
ev
en
ni
prediction
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
Getting started
w
y
Pr
op
ie
ve
en
ni
•
U
ss
se
id
br
As
am
9
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Work with a partner. Think of something
op
&
-C
C
es
your partner as if it was an algorithm
w
y
Pr
that a computer could follow. Include all
op
ie
of the steps in the task, even if they might
ev
ity
C
R
rs
w
ve
t-
ev
en
For example:
ni
R
m
IF it is a school day THEN take out my school
ge
ss
uniform, ELSE take out my weekend clothes.
se
id
As
am
y
op
&
-C
Flowcharts
s
C
es
w
y
Pr
op
ie
There are many ways to represent algorithms. In Scratch, you use
Start
ev
ity
R
you used speech. You could have also written it down as text.
rs
w
ie
ve
t-
A flowchart is another way to represent an algorithm.
ev
Get a bowl
en
ni
ss
Pour in some
se
id
cereal
br
As
am
y
op
&
-C
Add milk
s
C
es
w
y
Pr
op
ie
ev
ity
Use your
C
finger to follow
w
ie
ve
the flowchart.
t
ev
en
ni
End
R
m
ge
ss
se
id
br
As
am
10
y
op
&
-C
C
es
R
rs
ve
t-
1.1 Planning flowcharts
en
ni
U
m
ge
ss
To follow a flowchart, you begin at the start shape at the top and then
se
id
follow the arrow to the next step in the sequence.
br
As
We can use flowcharts to show a process that follows steps in the
am
y
same order. Engineers use flowcharts to show how to make things,
op
&
-C
C
es
w
y
Pr
op
Unplugged activity 1
ie
ev
ity
C
R
rs
w
Start
1 Which action did you perform first?
ie
ve
t-
ev
en
ni
R
m
Clap twice
ge
ss
se
id
br
y
op
&
-C
C
es
w
y
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
End
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
11
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Flowchart shapes
se
id
br
As
The shapes we use in a flowchart are important.
am
y
They provide more information about what is happening in the
op
&
-C
algorithm. Look at the table and read the descriptions with a partner.
C
es
w
y
Pr
op
ie
ev
Start or end This shape appears at the beginning and
ity
C
R
end of the flowchart.
rs
w
ie
ve
t-
ev
en
ni
m
should be followed in.
ge
ss
se
id
output
As
needs to get an input (information from
am
y
the user), or when it needs to produce an
op
&
-C
C
es
w
y
ie
ev
ity
C
R
rs
w
ie
ve
en
ss
As
a conditional statement. y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
12
y
op
&
-C
C
es
R
rs
ve
t-
1.1 Planning flowcharts
en
ni
U
m
ge
ss
Unplugged activity 2
se
id
br
Look at this flowchart. With a partner,
As
am
follow the flowchart twice:
y
Start
op
&
-C
C
es
• once as if it was a weekend.
w
y
Wake up
Pr
op
ie
What do you notice?
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
Take out your No Yes Take out your
ge
ss
weekend clothes Is it a school day? school uniform
se
id
br
As
am
y
op
&
Get dressed
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
Morning routine
ie
ve
t-
complete
ev
en
ni
R
Question
m
ge
ss
se
id
in Unplugged activity 2?
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
13
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Unplugged activity 3
se
id
br
Look at the flowcharts below. With a partner,
As
am
take it in turns to follow the flowcharts with your finger.
y
Start
op
&
-C
C
es
w
y
Pr
op
ie
their username
ev
ity
C
Start
R
rs
w
ve
t-
of usernames
Pick a number
ev
en
ni
between 1 and 10
R
m
ge
ss
Display: “Username No Is there a record of
Multiply the
se
id
As
am
y
Yes
op
&
Add 6 to the result
-C
C
es
their password
w
y
Pr
op
ie
Halve the result
ev
ity
C
R
rs
w
ie
ve
t-
Subtract your original
ev
en
ni
No
m
ss
As
am
their account
-C
C
es
w
y
End
Pr
op
ie
ev
ity
C
2 Can you remind your partner what any of the different shapes mean?
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
14
y
op
&
-C
C
es
R
rs
ve
t-
1.1 Planning flowcharts
en
ni
U
m
ge
ss
Unplugged activity 4
se
id
br
As
You will need: Worksheet 1.1
am
y
op
&
Arun draws a flowchart to show how his dad makes tea in the morning,
-C
C
but he isn’t sure which shapes he should use.
es
w
y
Pr
Look at his flowchart. With a partner, discuss which shape should go
op
ie
with each step.
ev
ity
C
R
rs
Use the worksheet to complete the flowchart so it includes the
w
ie
ve
t-
correct shapes and arrows.
ev
en
ni
m
morning routine flowchart to remind yourself how a decision should
ge
ss
look. Think carefully about where the arrow from ‘No’ should point to.
se
id
Start
br
|
As
am
y
op
&
Turn the kettle on
-C
C
|
es
w
Wait
y
Pr
op
ie
|
ev
ity
C
R
rs
w
(Yes)
ie
ve
t-
|
ev
en
ni
|
ge
ss
|
br
As
Stir well
am
y
op
&
|
-C
End
C
es
w
y
Pr
ie
ev
ity
C
Swap your flowcharts with another pair. Have a look at their flowcharts.
-R
rs
w
• Did they remember to use an oval shape or a rectangle with rounded corners for
ie
ve
en
ni
• Did they use a decision shape and draw arrows from the ‘Yes’ and ‘No’ labels?
R
ss
se
id
br
As
am
15
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Questions
se
id
br
As
2 What shape should be at the start and end of a flowchart?
am
y
3 When should you use a rectangle in a flowchart?
op
&
-C
s
4 Why would you use a diamond in a flowchart?
C
es
w
y
Pr
op
ie
Activity 5
ev
ity
C
R
You will need: a desktop computer, laptop or tablet, simple design software
rs
w
ie
ve
t-
such as Word, PowerPoint or Canva
ev
en
ni
m
shapes in a flowchart mean.
ge
ss
se
id
As
am
y
op
&
-C
Following a flowchart
s
C
es
w
y
Pr
op
ie
ev
Programming task 1
ity
C
R
rs
w
ie
ve
t-
You will need: a desktop computer,
ev
Start
en
ni
ss
Spaceship to fly
across the screen
se
program to do. Now Marcus wants to make his animation Spaceship to land y
op
&
on a planet
using Scratch.
-C
C
es
Astronaut to
Pr
ie
appear
1.1_space_animation_template to help you.
ev
ity
C
Astronaut to say
The blocks need to be put into a sequence.
ie
ve
planet!”
en
ni
R
m
ge
End
ss
se
id
br
As
am
16
y
op
&
-C
C
es
R
rs
ve
t-
1.1 Planning flowcharts
en
ni
U
m
ge
ss
Continued
se
id
br
As
How am I doing?
am
y
Run your code and check whether your program does
op
&
-C
C
es
completed each step.
w
y
Pr
op
ie
• My spaceship flies across the stage.
ev
ity
C
R
rs
w
ve
t-
• The astronaut says something.
ev
en
ni
R
m
ge
ss
se
id
br
y
op
&
-C
C
es
w
y
Pr
op
ie
Predicting the outcomes
ev
ity
C
R
of flowcharts
rs
w
ie
ve
t-
ev
en
ni
ss
C
es
Pr
ie
ve
en
ni
m
ge
ss
se
id
br
As
am
17
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Unplugged activity 6
se
id
br
Look at this flowchart to help fix a problem with a computer not working.
As
am
y
op
&
-C
Start
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
the mains?
ie
ve
t-
ev
en
Yes
ni
R
m
Is the power
ge
ss
No Plug the power cable
cable plugged into
into the computer
se
the computer?
id
br
As
Yes Can you
am
y
think of any other
op
&
Ask an adult
-C
C
es
w
y
Pr
flowcharts to predict
op
ie
End
ev
outcomes?
ity
C
R
rs
w
ve
t-
if the computer is plugged into the mains
ev
en
ni
m
ge
ss
se
id
br
w
y
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
18
y
op
&
-C
C
es
R
rs
ve
t-
1.2 Programming constructs
en
ni
U
m
ge
ss
1.2 Programming constructs
se
id
br
As
am
y
We are going to:
op
&
-C
C
• explore programming ideas including sequence, selection and iteration
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
m
• create a program with interaction that uses multiple programming ideas.
ge
ss
se
id
br
As
am
y
op
&
character integer selection
-C
C
chatbot interaction sequence
es
w
comparison operator iteration string
y
Pr
op
ie
condition operator variable
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
Getting started
R
ss
•
id
br
As
y
op
&
C
es
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
19
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Look at the Scratch blocks below. How could you arrange them in a sequence
op
&
-C
to show how to play a simple two-player game like snakes and ladders?
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
20
y
op
&
-C
C
es
R
rs
ve
t-
1.2 Programming constructs
en
ni
U
m
ge
ss
Programming constructs Start
se
id
br
As
We can use lots of different programming ideas,
am
y
op
&
often called programming constructs, to create Get a bowl
-C
s
programs that solve problems. Programming
C
es
constructs are programming ideas such as
w
y
Pr
op
ie
sequence, selection and repetition. You learnt Pour in some
ev
cereal
ity
about these constructs in the previous chapter.
C
R
Let’s recap some of them now.
rs
w
ie
ve
t-
Sequence is the order in which instructions run in
ev
Add milk
en
ni
m
in the wrong order, the algorithm or program may
ge
ss
not work in the way you want it to!
se
id
y
op
&
selection. A conditional statement is a section of End
-C
C
es
w
y
Pr
op
ie
set of instructions, depending on
ev
ity
R
A condition is a situation that tells
rs
w
ie
ve
t-
the computer what to do next.
ev
en
ni
ss
As
y
op
&
Pr
op
ie
Even though you don’t know which number the user will pick,
-R
rs
w
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
21
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Iteration means repeating something. When programming in
se
id
Scratch, we sometimes call iterators ‘repeat’ blocks or loops.
br
As
There are different types of iterators. A ‘forever’ loop is an iterator
am
y
that will keep repeating the code forever. A ‘repeat [10]’ block is an
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Which of
Pr
op
ie
these sequences use
ev
ity
C
an iterator?
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
Activity 1
am
y
op
&
-C
You will need: a desktop computer, laptop or tablet with presentation software
s
C
es
w
y
ie
selection and iteration are. Try to use examples from your own programming.
-R
rs
w
ie
ve
t
ev
en
ni
Question
R
m
ge
ss
As
am
22
y
op
&
-C
C
es
R
rs
ve
t-
1.2 Programming constructs
en
ni
U
m
ge
ss
There are lots of other useful programming constructs that you
se
id
need to know about, including variables, operators, procedures
br
As
and interaction.
am
y
A variable is a named container
op
&
-C
s
In programming,
C
es
data in your program. Even though
we use * for the multiply
w
y
Pr
the data in the variable might be
op
ie
operator instead of x, and /
ev
different each time you run
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
An input variable is a type of variable that asks for information
se
id
from the user. In Scratch you could use the ‘ask’ block to create an
br
As
input variable.
am
y
We can use different types of operator in computer programs.
op
&
-C
C
es
w
y
Pr
ie
ev
ity
C
R
rs
w
ve
t-
Arithmetic operators are used to do calculations. The main
ev
en
ni
ss
se
id
br
Unplugged activity 2
As
am
y
op
&
C
es
Pr
op
-R
rs
w
ve
en
ni
R
ss
se
id
br
As
am
23
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
We can also use comparison operators in programs that involve
se
id
numbers. There are three comparison operators in Scratch: greater
br
As
than, less than and equal to. They compare the first number with the
am
y
second number and output either true or false. Look at an example
op
&
on the right.
-C
C
es
A procedure is a small section of code that we can use multiple
w
y
Pr
times in a program. Using procedures can save time for developers
op
ie
ev
so they don’t need to keep writing the same set of commands.
ity
C
R
rs
w
ve
t-
part. For example, in Scratch you might have two sprites and if one of
ev
en
ni
them touches the other, the first one might disappear or play a sound.
R
m
ge
ss
Data types
se
id
br
As
Computers store data in an organised way to make it easy to find
am
y
op
&
information quickly. One of the ways that computer programs
-C
C
es
w
y
Pr
op
ie
and string.
ev
ity
C
R
rs
w
Integer
ie
ve
t-
ev
en
ni
ss
As
am
Character
y
op
&
-C
C
es
Pr
ie
with characters!
ev
ity
C
-R
ve
en
strong password.
ni
R
m
ge
ss
se
id
br
As
am
24
y
op
&
-C
C
es
R
rs
ve
t-
1.2 Programming constructs
en
ni
U
m
ge
ss
String
se
id
br
As
If you combine characters, it creates data with another data type
am
y
called a string. Strings can also include spaces and are
op
&
-C
C
es
An example of a Scratch block that This is
w
y
Pr
op
ie
requires a string is the ‘say’ block: a string made up
ev
ity
C
R
rs
w
ve
t-
blocks that use integers
ev
en
ni
or strings?
R
m
ge
ss
se
id
Unplugged activity 3
br
As
The Scratch blocks below all require an input of certain data types.
am
y
op
&
For each block, discuss with your partner which data type the block uses.
-C
C
es
1 4
w
y
Pr
op
ie
ev
ity
C
R
rs
w
2 5
ie
ve
t-
ev
en
ni
R
3
ge
ss
se
id
br
As
am
y
op
&
In Scratch,
-C
w
y
Yes. When
ie
I tried to do ‘three’ +
C
automatically convert
-R
rs
the string to 0.
ie
ve
answer was 0
t
ev
en
ni
because you
R
ss
strings together.
se
id
br
As
am
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
You are going to create a chatbot program that requires different data types.
se
id
A chatbot is a program that has been designed to speak and respond to a user
br
As
in a human way. Some chatbots listen to your voice and speak aloud, but other
am
y
chatbots respond online with text. They can sometimes answer questions and
op
&
-C
C
es
w
y
Pr
op
ie
Programming task 1
ev
ity
C
R
rs
w
You will need: a desktop computer, laptop or tablet, access to Scratch and
ie
ve
t-
source file 1.2_chatbot_example
ev
en
ni
R
m
Part A
ge
ss
se
id
Look at the code for a chatbot. Work with a partner to discuss what you
br
As
think this code will do. Explain each block in the sequence.
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Part B
Pr
op
ie
ev
Load source file 1.2_chatbot_example into Scratch and run the code.
ity
C
-R
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
26
y
op
&
-C
C
es
R
rs
ve
t-
1.2 Programming constructs
en
ni
U
m
ge
ss
Continued
se
id
br
As
Part C am
y
op
&
Add comments to the code explaining the role of the different blocks.
-C
s
One of these blocks asks for a string input and the other requires an integer.
C
es
w
y
1 What happens if you type a string as a response for the integer question?
Pr
op
ie
2 What happens if you type an integer as a response for the string question?
ev
ity
C
3 There is an arithmetic operator block in this code. Did you spot it?
R
rs
w
ve
t-
ev
en
ni
Part D
R
m
Change some of the blocks to make the program different.
ge
ss
Here are some ideas for things to try:
se
id
br
As
• Change the cat’s name.
am
y
• Add another greeting message before it asks a question.
op
&
-C
• Make the cat respond saying they know someone with the user’s name.
s
C
es
• Change the arithmetic operator so that it tells the user how old they
w
y
Pr
op
ie
will be next year.
ev
ity
C
Part E
R
rs
w
ie
ve
t-
Create your own version of a chatbot that uses the ‘ask’ block to get data
ev
en
ni
input from the user. In one of your questions, ask the user for an integer
R
ss
• ask about the user’s favourite food and respond by saying you like to
br
As
y
op
&
• ask for the year the user was born and work out how old they are
-C
w
y
saying you know what that number squared is, then tell them the answer.
Pr
op
ie
ev
ity
C
Stay safe!
-R
rs
w
ie
ve
en
ni
are only programs following an algorithm so their answers might not be very
R
reliable. Also, some hackers design chatbots to get your personal information.
ge
ss
Make sure you trust the website or app before responding to a chatbot.
se
id
br
As
am
27
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Solving a problem using different
se
id
br
As
programming ideas
am
y
op
&
-C
C
es
w
You are going to develop programs that solve real-life problems.
y
Pr
op
ie
The programs you create will use:
ev
ity
C
R
• conditional statements
rs
w
ie
ve
t-
• iteration
ev
en
ni
• variables
R
m
ge
ss
• arithmetic and comparison operators
se
id
• procedures
br
• interaction.
As
am
y
op
&
-C
Question
s
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
Programming task 2
ie
ve
t-
ev
en
ni
You will need: a desktop computer, laptop or tablet, access to Scratch and
R
ss
se
id
Part A
br
As
am
w
y
ie
ve
Part B
t
ev
en
ni
the code.
ge
ss
se
id
br
As
am
28
y
op
&
-C
C
es
R
rs
ve
t-
1.2 Programming constructs
en
ni
U
m
ge
ss
Continued
se
id
br
As
1 Did the program do what you predicted?
am
y
op
&
2 Did it count all the way to 20 or did it stop on
-C
s
a different number? Why do you think this happened?
C
es
w
3 How could you make it count faster or slower?
y
Pr
op
ie
4 Which data type did this program require?
ev
ity
C
R
Part C
rs
w
ie
ve
t-
Investigate what the ‘join’ operator does when you add it to the code.
ev
en
ni
R
Add the ‘join’ operator to the algorithm inside the ‘say’ block instead of the
U
m
number variable. Try some of the combinations below and click them to
ge
ss
see the output.
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
Part D
R
ss
you choose.
br
As
am
Hint: Most of the algorithm can remain the same but you will need y
op
&
C
es
How am I doing?
w
y
Pr
op
ie
Discuss with your partner how confident you feel, from 1 to 5, about each
ev
ity
C
of the statements below. 1 means you are not sure and 5 means you
-R
rs
w
ve
en
ni
m
ge
ss
se
id
br
As
am
29
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Scratch allows you to convert written text into spoken
se
id
language. We can use the ‘Text to Speech’ extension to do
br
As
this. You can find the ‘Add Extension’ button at the bottom of
am
y
the Scratch blocks palette. It looks like this:
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
Programming task 3
R
rs
w
ie
ve
t-
ev
en
ni
You will need: a desktop computer, laptop or tablet, access to Scratch and
R
m
source file 1.4_talking_clock
ge
ss
Zara’s friend is blind. She can’t read the time on a standard clock so
se
id
Zara wants to create a program that will speak the time aloud for her.
br
As
am
y
op
&
that she thinks she will need in Scratch.
-C
C
Can you help her to complete
es
w
y
Pr
op
ie
Open source file 1.4_talking_clock how you will use the
ev
ity
C
R
rs
w
ve
t-
Speech’ extension to create a program
ev
en
ni
m
ge
ss
Swap your program with a partner and evaluate whether the program
br
As
solves the problem for Zara’s friend. Look at the criteria below.
am
C
es
Pr
op
ie
ve
t
ev
en
ni
m
ge
ss
se
id
br
As
am
30
y
op
&
-C
C
es
R
rs
ve
t-
1.2 Programming constructs
en
ni
U
m
ge
ss
Programming task 4
se
id
br
As
am
You will need: a desktop computer, laptop or tablet, access to Scratch
y
op
&
and source file 1.5_Zara_talking_clock
-C
C
es
Developers often create programs that work and then try to think
w
y
Pr
op
ie
of ways to improve them.
ev
ity
C
R
rs
w
Although Zara’s program works, she has some ideas about how to
ie
ve
t-
make it even better. It uses a 24-hour clock. If you run the program
ev
en
ni
m
use a 12-hour clock so that it will say '2:26' instead.
ge
ss
Help Zara solve this problem and improve her code. (Hint: You will
se
id
have to use a conditional block that checks to see if the current time is
br
As
before or after midday.) You might have your own ideas about things to
am
y
op
&
improve, too. You could also see if you can change the code so it says
-C
that the time is a certain number of minutes past the hour, or a certain
C
es
w
y
Pr
op
ie
ev
ity
C
R
Bugs!
rs
w
ie
ve
t-
ev
en
ni
Did you notice any bugs in your code? Remember: debugging means
R
ss
For example, in the code below, if it was 1 minute past 10, this
se
id
program would say ‘One minutes past ten’ How would you fix this?
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
31
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
se
id
Errors are very common in computing, even for experienced
br
As
programmers. How do you feel when you realise you have
am
y
made an error in your code? What helps you to fix it?
op
&
-C
C
es
w
y
Pr
op
ie
Programming task 5
ev
ity
C
R
rs
w
You will need: a desktop computer, laptop or tablet, access to Scratch and
ie
ve
t-
ev
en
ni
R
m
ge
ss
Part A
se
id
As
follow the instructions.
am
y
op
&
Discuss with a partner how the different sprites interact with each other.
-C
C
Explain which other programming constructs are used in this program.
es
w
y
Pr
op
ie
Part B
ev
ity
C
Add another number sprite. When that sprite is clicked it should cause
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
se
id
Sequence, selection,
br
As
Pr
op
ie
ve
when programming!
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
32
y
op
&
-C
C
es
R
rs
ve
t-
1.2 Programming constructs
en
ni
U
m
ge
ss
Look what I can do!
se
id
br
I can explain programming ideas including sequence, selection and iteration.
As
am
y
I can use arithmetic operators in my algorithms.
op
&
-C
I can create programs that use character, integer and string data types.
C
es
w
I can develop a chatbot that asks questions and uses the given answers.
y
Pr
op
ie
I can create a talking clock that solves a real problem.
ev
ity
C
R
I can create programs with interaction that use multiple programming ideas.
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
33
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
1.3 Sub-routines
se
id
br
As
am
y
We are going to:
op
&
-C
C
• learn that a sub-routine can be used multiple times in an algorithm
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
m
• develop a program where two sprites interrelate.
ge
ss
se
id
br
As
am
y
broadcast initialisation
op
&
-C
call interrelate
s
C
es
define sub-routine
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
Getting started y
op
&
-C
C
es
Pr
op
ie
in an algorithm.
-R
rs
w
ie
•
t
ev
or remove points.
en
ni
R
ss
se
id
br
As
am
34
y
op
&
-C
C
es
R
rs
ve
t-
1.3 Sub-routines
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Look at the code below, which is used to control a dinosaur sprite.
op
&
-C
With a partner, predict what the program will do and explain how
C
es
the Score variable will work.
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
Using sub-routines
s
C
es
w
y
Pr
op
code and performs a specific task. This section of code is often used
ity
C
-R
ve
en
ni
ss
As
am
35
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
When we want to use a sub-routine, we can call it. You might call
se
id
someone’s name in the playground and they will respond. Calling a
br
As
sub-routine works in the same way: when you call, there is a response.
am
y
In programs, a sub-routine can be called more than once, and different
op
&
algorithms in the program can call the same sub-routine.
-C
C
es
w
y
Pr
op
ie
Using sub-routines within the same algorithm
ev
ity
C
R
rs
w
ve
t-
You have a list of instructions to follow. The instructions contain a
ev
en
ni
m
forward roll and a handstand. For example:
ge
ss
se
id
y
op
&
2 Fall forwards 2 Put your head to the floor
-C
C
es
w
y
Pr
op
ie
4 Put your feet back on the floor
ev
ity
C
R
If the instructions for your routine included all of the steps for each move,
rs
w
ie
ve
t-
the instructions would be very long, especially if you were repeating the
ev
en
You could use sub-routines for each of these moves to help reduce
ge
ss
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
36
y
op
&
-C
C
es
R
rs
ve
t-
1.3 Sub-routines
en
ni
U
m
ge
ss
Unplugged activity 1
se
id
br
As
You will need: a pen and paper
am
y
op
&
Look at the algorithm below for a gymnastics routine.
-C
C
Identify where sub-routines could be used to remove repetition
es
w
y
and make the routine easier to understand. Write down the new algorithm.
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
Fall forwards
t-
2
ev
en
ni
m
4 Put your feet back on the floor
ge
ss
Step to the right
se
5
id
br
As
6 Step to the left
am
y
op
&
7 Crouch on the floor
-C
C
8 Put your head to the floor
es
w
y
Pr
9 Roll over
op
ie
ev
ity
C
10 Do a star jump
R
rs
w
ve
t-
ev
13 Roll over
ge
ss
15 Fall forwards
br
As
am
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
37
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Questions
se
id
br
As
1 How many times is each sub-routine called in your
am
y
new algorithm for Unplugged activity 1?
op
&
-C
C
es
needed to give instructions for a using sub-routines helps
w
y
Pr
op
ie
to reduce the length of
ev
moves that were called multiple
ity
C
the instructions?
times each?
R
rs
w
ie
ve
t-
ev
en
ni
m
ge
ss
We can also use the same sub-routine in two (or more) different
se
id
As
for a competition. You can use the same sub-routine in both of these
am
y
routines. For example:
op
&
-C
C
es
w
y
Pr
op
ie
1 Put your hands in the air 1 Crouch on the floor
ev
ity
C
R
rs
w
3 3
ve
t-
ev
en
ni
m
ge
ss
se
id
Routine 1 Routine 2
br
As
y
op
&
w
y
Pr
ie
ev
5 5
C
-R
rs
w
ve
Turn around
t
7
ev
en
ni
R
m
ge
ss
se
id
br
As
am
38
y
op
&
-C
C
es
R
rs
ve
t-
1.3 Sub-routines
en
ni
U
m
ge
ss
Unplugged activity 2
se
id
br
As
You will need: a pen and paper
am
y
op
&
Write algorithms for two different gymnastics routines that both use the
-C
C
sub-routines for a handstand and a forward roll.
es
w
y
Pr
You can create more sub-routines for other gymnastics moves if you like!
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
m
ge
ss
As
y
op
&
-C
w
y
Pr
op
ie
ve
t
ev
• a variable for the score, so we can keep track of how many points
en
ni
R
ss
• a variable for ‘lives’, to limit the number of times a player can answer
se
id
a question incorrectly.
br
As
am
39
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Questions
se
id
br
As
Look at this algorithm that uses two variables:
am
y
op
&
-C
s
1 When green flag clicked
C
es
w
Set Score to 0
y
Pr
op
ie
3 Set Lives to 3
ev
ity
C
R
4
rs
w
ie
ve
t-
5 Ask ‘What is 3 + 4?’ and wait
ev
en
ni
6 IF answer = 7
R
m
7 THEN change Score by 1
ge
ss
se
id
As
am
y
op
&
3 What are the names of the two variables the programmer
-C
C
has created?
es
w
y
ie
5 What would happen to the variables if the player entered 5
ev
ity
C
as their answer?
R
rs
w
ve
t-
ev
as their answer?
en
ni
R
7 How could you change the program so that you started with
m
5 lives?
ge
ss
se
8 How could you change the program so that the player would
id
br
y
op
&
-C
C
es
w
y
different algorithms
Pr
op
ie
ev
ity
C
ve
en
response from the user in the answer variable. Two different sprites
ni
R
could then use the information stored in the answer variable in their
m
ge
ss
As
am
40
y
op
&
-C
C
es
R
rs
ve
t-
1.3 Sub-routines
en
ni
U
m
ge
ss
Unplugged activity 3
se
id
Look at the code below. There are two separate sprites and they both
br
As
use the answer variable in their algorithms.
am
y
op
&
Discuss with a partner what both the sprites will say if the user entered
-C
C
the answer ‘basketball’.
es
w
y
Pr
Hanif Temi
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
With your partner, think of another question this program could ask
Pr
op
ie
the user. Discuss how both of these sprites could use the answer
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
ss
se
id
sub-routines
br
As
am
C
es
ie
ve
t
ev
ss
se
id
br
As
am
41
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
In real life, messages are sent around the world and even into space
se
id
using broadcast masts like the one in the photo on the previous page.
br
As
In Scratch, using a ‘broadcast’ block is a bit like sending a signal or
am
y
message to all the other sprites and scripts in the project.
op
&
-C
C
es
w
Programming task 1
y
Pr
op
ie
ev
ity
C
You will need: a desktop computer, laptop or tablet, access to Scratch and
R
rs
w
ve
t-
ev
en
ni
m
car game. With your partner,
ge
ss
go through each of the blocks
se
id
As
what they do. There is a
am
y
sub-routine used somewhere
op
&
-C
C
es
w
y
Pr
op
ie
Open source file
ev
ity
1.7_car_game_subroutine in
C
R
Scratch. Run the code and see
rs
w
ie
ve
t-
if your predictions were correct.
ev
en
ni
sub-routine run?
ge
ss
As
how it works.
am
y
op
&
-C
initialisation. Initialisation
y
Pr
op
ie
ve
en
ni
ss
flag is clicked.
se
id
br
As
am
42
y
op
&
-C
C
es
R
rs
ve
t-
1.3 Sub-routines
en
ni
U
m
ge
ss
Sub-routines can be very useful for developers when they are
se
id
creating programs that might repeat sets of instructions.
br
As
In the program on the previous page, the developers could make
am
y
it a two-player game and add a second car sprite for another player.
op
&
If this car goes off track, they could call the same ‘Off course!’
-C
C
sub-routine instead of having to recreate the algorithm.
es
w
y
Pr
op
ie
Did you know?
ev
ity
C
R
The sub-routine in Programming task 1 was created using
rs
w
ie
ve
the ‘broadcast’ block. You can also create a sub-routine in
t-
ev
en
Scratch using ‘Make a Block’. It is very similar to the
ni
R
m
ge
ss
se
id
Question
br
As
am
y
op
&
9 Can you think of other times when a sub-routine might be useful in real life?
-C
C
es
w
y
Pr
ie
ev
ity
C
ve
t-
Have you ever done an online quiz? When you get a
ev
en
ni
ss
C
es
ie
ve
en
to use sub-routines.
se
id
br
As
am
43
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Creating a spelling quiz Stay safe!
se
id
Some online quizzes have chat
br
As
Do you have spelling quizzes at school?
features, but you should only
am
y
op
&
We can create a similar quiz in Scratch, speak to people you know and
-C
s
where we tell the user which word they need trust online. Tell a trusted adult
C
es
to spell. However, we can’t display the word if you see anything that makes
w
y
Pr
op
ie
as written text because this would give the you feel uncomfortable.
ev
ity
C
R
rs
w
ie
ve
t-
Activity 4
ev
en
ni
R
m
ge
ss
Click the ‘Add Extension’ button in the bottom
se
id
y
op
&
A new set of blocks will appear in the blocks
-C
C
palette. They look like this:
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
w
y
Pr
Can you:
op
ie
ev
ity
C
ve
t
ev
ss
se
id
br
As
am
44
y
op
&
-C
C
es
R
rs
ve
t-
1.3 Sub-routines
en
ni
U
m
ge
ss
Before you program the spelling quiz, you need to create a plan.
se
id
br
As
Unplugged activity 5
am
y
op
&
As a class, discuss what features
-C
C
might be included in a good online
es
w
quiz. What might happen if the
y
Pr
op
ie
player gets an answer correct or
ev
ity
C
R
rs
w
ve
t-
With a partner, use the criteria below
ev
en
ni
m
quiz on paper.
ge
ss
Things to include:
se
id
br
As
• at least two variables (Will you
am
y
have a score? Will your program
op
&
have lives?)
-C
C
es
w
y
Pr
op
ie
If a user gets an answer correct, the program should:
ev
ity
C
R
rs
w
ie
ve
en
ni
• say ‘Correct!’
R
ss
As
y
op
&
w
y
Pr
• change the backdrop to ‘red’ (you might need to create this backdrop).
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
45
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Programming task 2
se
id
br
As
am
You will need: a desktop computer, laptop or tablet, access to Scratch,
y
op
&
source file 1.8_spelling_quiz_incomplete and your algorithm from
-C
C
Unplugged activity 5
es
w
y
Pr
op
ie
Open source file 1.8_spelling_quiz_incomplete and sequence the blocks to
ev
ity
C
create a program that asks the user to spell the word ‘variable’.
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
Pr
op
ie
2 What would happen if the user spelt the word using a capital letter?
-R
rs
w
Using the Scratch project, investigate this and think about what it
ie
ve
en
ni
3 How could you modify the program to ask for a different spelling?
R
m
ge
As
am
46
y
op
&
-C
C
es
R
rs
ve
t-
1.3 Sub-routines
en
ni
U
m
ge
ss
Unplugged activity 6
se
id
Look at the code below. Work with a partner to trace the code
br
As
am
starting at the green flag block. Explain what the code does.
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
With your partner, discuss why using sub-routines in the quiz might
am
be more useful than not using them, and then share your ideas with y
op
&
C
es
As you create
y
Pr
op
ie
ve
en
ni
skill to learn!
R
m
ge
ss
se
id
br
As
am
47
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Programming task 3
se
id
br
As
am
You will need: a desktop computer, laptop or tablet, access
y
op
&
to Scratch, source file 1.9_spelling_quiz_no_subroutines and
-C
C
source file 1.10_spelling_quiz_subroutines
es
w
y
Pr
op
ie
You are going to extend the spelling test program to ask for two
ev
ity
C
more spellings.
R
rs
w
Work in a pair. One of you should use source file 1.9 (the spelling quiz
ie
ve
t-
without sub-routines), while the other should use source file 1.10
ev
en
ni
m
Add two new spelling questions to the program. Ask for the spellings
ge
ss
of the words ‘subroutine’ and ‘conditional’.
se
id
br
y
op
&
-C
C
es
Programming task 4
w
y
Pr
op
ie
You will need: a desktop computer, laptop or tablet, access to
ev
ity
C
R
rs
w
ve
t-
ev
ss
improve its function. You are going to make the quiz do something slightly
se
id
As
am
You are going to make changes to both versions of the code: the y
op
&
w
y
ie
ve
Once you have made these changes, discuss with a partner how you did it.
t
ev
en
ni
ss
se
id
br
As
am
48
y
op
&
-C
C
es
R
rs
ve
t-
1.3 Sub-routines
en
ni
U
m
ge
ss
Continued
se
id
br
As
How am I doing?
am
y
For each of the following statements, give yourself a 1 if you don’t agree,
op
&
-C
C
es
• I added more questions to the spelling program using conditionals
w
y
Pr
op
ie
(IF THEN ELSE).
ev
ity
C
R
rs
w
ve
t-
• I understand the benefits of using sub-routines in a program.
ev
en
ni
R
m
ge
ss
se
id
As
a task, that was hard at first, but made the task easier in the end.
am
y
op
&
What did you do to adapt to the new way?
-C
C
es
w
y
Pr
op
ie
ev
ity
C
ve
t-
algorithms interrelate
ev
en
ni
R
When learning about object interaction, you learnt how to create algorithms
ge
ss
As
am
Remember, y
op
&
-C
C
es
Pr
ie
ev
-R
ve
t
ev
en
ni
R
ss
As
am
49
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
The dancing man sprite (in the centre of the stage) has a variety of sub-routines
se
id
for different dance moves. What do you think would happen if you clicked one of
br
As
these sub-routines?
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
The sprite, Anina (on the left of the stage) uses the ‘broadcast’ block to call
w
ie
ve
t-
some of these sub-routines which causes the man to dance.
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
50
y
op
&
-C
C
es
R
rs
ve
t-
1.3 Sub-routines
en
ni
U
m
ge
ss
Programming task 5
se
id
br
As
am
You will need: a desktop computer, laptop or tablet, access to Scratch
y
op
&
and source file 1.13_dancing_program
-C
C
es
Open source file 1.13_dancing_program.
w
y
Pr
op
ie
1 Click on the dancing man sprite and click on the sub-routines.
ev
ity
C
R
rs
w
3 Modify the female host’s algorithm to make the man complete a different
ie
ve
t-
ev
en
ni
R
4 Create a new sub-routine for the dancing man and call it from the
m
ge
ss
se
id
br
As
am
y
Look what I can do!
op
&
-C
C
es
w
y
ie
I understand how to create algorithms with more than one variable.
ev
ity
C
R
rs
ve
t-
I can develop a quiz program that uses sub-routines and variables.
ev
en
ni
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
51
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
1.4 Planning programs
se
id
br
As
am
y
We are going to:
op
&
-C
C
• understand how a clear plan can improve a program
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
m
ge
ss
se
id
br
decomposition prototype
As
am
y
interface prompt
op
&
-C
prioritising random
s
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
Getting started
br
As
y
op
&
C
es
Pr
op
ie
• The ‘ask’ block in Scratch prompts the user for an answer and stores
ev
ity
C
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
52
y
op
&
-C
C
es
R
rs
ve
t-
1.4 Planning programs
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Think about a time when you created a program in Scratch. Did you plan
op
&
-C
C
es
How did you do this? Did the plan help you to create your program? Why?
w
y
Pr
op
ie
Share your ideas with the rest of the class.
ev
ity
C
R
rs
w
ie
ve
t-
Planning programs
ev
en
ni
R
m
When programmers work on a new program, they need to
ge
ss
plan their work and the project in advance. The program is
se
id
As
the program will do and how it might look for the user.
am
y
Decomposition is the process of taking a complex problem
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
include sketches and annotations (labels or notes) and it might
ev
en
ni
ss
As
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
53
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Unplugged activity 1
se
id
br
As
You will need: a pen and paper
am
y
op
&
Create a project plan for a Scratch game of rock, paper,
-C
C
scissors for a user to play against the computer.
es
Maybe the game
w
y
Pr
Use the questions below to help you. On your
op
ie
could begin with a welcome
ev
own, think about each question and what the
ity
C
R
rs
w
ve
t-
ask for the user’s name and
ev
en
ni
m
• How will the game begin?
ge
ss
• How will the user input their choice of rock, paper or scissors?
se
id
As
am
y
• How will the program know who has won?
op
&
-C
C
es
w
• Will there be a scoring system?
y
Pr
op
ie
• How long will the game last?
ev
ity
C
R
Now discuss your ideas with your partner. Did you have any
rs
w
ie
ve
en
ni
R
ss
se
id
As
C
es
Pr
op
that appear.
ve
t
ev
en
ni
ss
need to do.
se
id
br
As
am
54
y
op
&
-C
C
es
R
rs
ve
t-
1.4 Planning programs
en
ni
U
m
ge
ss
Think about some of your favourite online games. What do you see
se
id
on the screen when you start the game? Different games might have
br
As
different controls. At the start of a game there is often a screen with
am
y
instructions on how to play. Some games use the arrow keys to control
op
&
a sprite. Other games might use the mouse.
-C
C
es
A prompt is a message on the screen
w
y
Pr
that shows a program is waiting
op
ie
ev
for input. Sometimes the interface
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
These are important features of the
ge
ss
game’s interface.
se
id
br
As
Programmers often use design
am
y
programs to design an interface for a
op
&
program, but sometimes they start by
-C
C
sketching their ideas out on paper.
es
w
y
Pr
op
ie
ev
Did you know?
ity
C
R
rs
w
People who work on how a program looks are sometimes called ‘front-end
ie
ve
t-
developers’, while people who work on the programming that users don’t
ev
en
ni
m
ge
ss
se
id
Unplugged activity 2
br
As
am
w
y
Pr
Your game’s interface will look different at different times. Choose a certain
op
ie
time in your game and draw a sketch of what the interface might look like
ev
ity
C
for your user. Add annotations to your sketch to include more information.
-R
rs
w
ie
ve
At some times in your game, you might need to add a prompt which will
t
ev
en
ni
ask the user for information, such as when they need to choose rock,
R
ss
might include.
se
id
br
As
am
55
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Continued
se
id
br
Repeat this process for other times or
As
am
situations in your game. For example:
y
op
&
• the beginning of the game
-C
C
es
• when the user has to choose
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
Press this button to start a game
ev
en
• when the game is over.
ni
R
m
ge
ss
How am I doing?
se
id
Share your ideas with the rest of the class and compare
br
y
op
&
Which ideas did you see on someone else’s
-C
C
plan that you might use in your program?
es
Developers share
w
y
ie
people wanted to use? programming ideas all
ev
ity
C
R
rs
w
them improve.
ie
ve
Prototypes
t-
ev
en
ni
R
ss
w
y
Pr
ie
ve
en
ni
ss
As
am
56
y
op
&
-C
C
es
R
rs
ve
t-
1.4 Planning programs
en
ni
U
m
ge
ss
started as a prototype before the final product
se
id
was released in 2004.
br
As
Here are some of the benefits of creating a prototype:
am
y
op
&
• Allows programmers to see their ideas working
-C
C
in a simple way.
es
w
y
Pr
op
ie
they could add to their program.
ev
ity
C
R
rs
w
ie
ve
t-
• Means other people can see how the program
ev
en
ni
m
• Allows users to provide feedback at an early stage
ge
ss
while it is easy to make changes.
se
id
br
As
am
Questions
y
op
&
-C
C
es
w
y
ie
2 What about outside of school?
ev
ity
C
R
rs
w
Activity 3
ie
ve
t-
ev
en
ni
ss
se
id
As
y
op
&
w
y
Pr
• a message to welcome the user and explain the rules of the game
op
ie
ev
ity
C
ve
t
ev
• a prompt to ask your user if they want to choose rock, paper or scissors.
en
ni
R
Remember: you do not need to create the full rock, paper, scissors game!
ge
ss
se
id
br
As
am
57
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Using project plans to
se
id
br
As
develop programs
am
y
op
&
-C
C
es
designed the interface of a program, they can start thinking about
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
games. Random means that you can’t predict what the outcome will
ev
en
ni
be. In a racing game like Super Mario Kart, you might get a random
R
m
bonus after driving through a mystery box.
ge
ss
se
id
Prioritising
br
As
am
y
op
&
Once a programmer has created a project plan, they need to decide
-C
C
which part to program first. This is called prioritising. It usually makes
es
sense to prioritise the more complex parts of the problem and work on
w
y
Pr
op
ie
them first.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
Sofia has created a project plan for the game of rock, paper, scissors.
am
Pr
op
ie
• Get the program to work out who has won a round – the user or
ev
ity
C
the computer.
-R
rs
w
ve
I program first?
R
ss
se
id
br
As
am
58
y
op
&
-C
C
es
R
rs
ve
t-
1.4 Planning programs
en
ni
U
m
ge
ss
Question
se
id
br
As
3 Think about games you play online. How is randomness
am
y
used in the game?
op
&
-C
C
es
Activity 4
w
y
Pr
op
ie
You will need: a desktop computer, laptop or tablet, access to Scratch and
ev
ity
C
R
rs
w
ie
ve
t-
Marcus wants to create a program that randomly says either ‘true’ or ‘false’
ev
en
ni
after his friends have made a statement. He has planned how it should look
R
m
and he knows that there is a random block in Scratch.
ge
ss
At the moment the program only randomly
se
id
As
am
Work with a partner. Open source file 1.14 and change the code
y
op
&
so that the program says the words ‘true’ or ‘false’ randomly.
-C
C
es
w
y
Pr
op
ie
ev
to a program. Which solutions were the most effective? Why?
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
Try using a
ge
ss
conditional block to
se
id
As
C
es
instead of 1 or 2.
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
59
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Programming task 1
se
id
br
As
am
You will need: a desktop computer, laptop or tablet, access to Scratch,
y
op
&
source file 1.15_rock_paper_scissors_game, a pen and paper
-C
C
es
You now need to program this part of Sofia’s project plan:
w
y
Pr
op
ie
• Program the computer to make a random choice of rock, paper
ev
ity
C
R
rs
w
ie
ve
t-
Part A
ev
en
ni
Sofia has tried to create a program that will choose either rock, paper or
R
m
scissors. With a partner, predict what her code will do and discuss why
ge
ss
her code may not work as she expects.
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
60
y
op
&
-C
C
es
R
rs
ve
t-
1.4 Planning programs
en
ni
U
m
ge
ss
Continued
se
id
br
As
Open source file 1.15_rock_paper_scissors_game. Run the code to test
am
y
whether your predictions were correct.
op
&
-C
C
Now, run the code 10 times and note down the computer’s choice each time.
es
w
y
Did you see any blank results? Discuss with your partner why there
Pr
op
ie
might be blank results.
ev
ity
C
R
rs
w
Part B
ie
ve
t-
You want the
ev
en
ni
conditional IF statements.
U
m
When the code is run, it picks a random number once and
ge
ss
new random number each time. then store that number
se
id
somehow . . .
br
As
With a partner, modify Sofia’s
am
y
code to see if you can fix this bug.
op
&
-C
C
How are we doing?
es
w
y
Swap your program with another pair. Test it to see if the program randomly
Pr
op
ie
says ‘rock’, ‘paper’ or ‘scissors’. Test it at least 10 times to check.
ev
ity
C
ve
t-
ev
en
ni
R
Choice combinations
m
ge
ss
se
id
As
You now need to look at the next parts of Sofia’s project plan:
y
op
&
-C
Pr
op
ie
There are many possible combinations of the user’s choice and the
ve
t
ev
to think carefully about how your program will decide who has won
m
ss
of answers.
se
id
br
As
am
61
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Unplugged activity 5
se
id
br
As
You will need: a pen and paper
am
y
op
&
For each round of the rock, paper, scissors game,
-C
C
there will be a user choice, a computer
es
w
Is there a way
y
Pr
op
ie
the round, or if it was a draw). you can do this to
ev
ity
C
Copy the table below to help make sure that you have
R
rs
w
ve
t-
possibilities?
ev
en
ni
R
m
User choice Computer choice Result
ge
ss
se
id
As
am
Rock
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
In the previous activity you helped Sofia to find all the possible
R
choices for her game. One efficient method to find all the possibilities
ge
ss
is to first find all the combinations for when the user chooses rock.
se
id
There are three possibilities because the computer could also choose
br
As
rock, or paper or scissors. Then if the user chooses paper, there are
am
three more possibilities for the computer’s choice. There are three
y
op
&
-C
C
es
Pr
op
ie
To turn this into code that a program can understand, you can use
ev
ity
C
you can use nine conditional statements that will check the
w
ie
ve
choices that the computer and the user have made and
t
ev
en
ni
m
ge
ss
se
id
br
As
am
62
y
op
&
-C
C
es
R
rs
ve
t-
1.4 Planning programs
en
ni
U
m
ge
ss
For example:
se
id
br
As
1 IF the user selects rock THEN
am
y
op
&
2 IF the computer selects rock THEN
-C
C
3 the result is a draw
es
w
y
Pr
4 IF the computer selects paper THEN
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
Activity 6
ni
R
m
You will need: a desktop computer, laptop or tablet and source file
ge
ss
1.16_conditional_algorithm_template
se
id
br
As
Write an algorithm in words using conditionals, to show all the possible
am
y
combinations of user and computer choices.
op
&
-C
C
Use source file 1.16_conditional_algorithm_template to help you.
es
w
y
Pr
op
ie
ev
ity
C
User’s choice
R
rs
w
ie
ve
t-
So far you have created the part of your program that gets the computer
ev
en
ni
to create the part of your program that allows the user to make their
ge
ss
The user needs to input their choice of rock, paper or scissors. One way
br
As
am
to do this is using the ‘ask’ block. This will store the user’s response y
op
&
in the ‘answer’ and then the program can compare this with the
-C
computer’s choice.
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
63
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Activity 7
se
id
br
As
You will need: a desktop computer, laptop or tablet, access to Scratch and
am
y
source file 1.17_Sofia_rock_paper_scissors
op
&
-C
C
es
Sofia has started to create the rock, paper, scissors program but it
w
y
Pr
op
ie
• Allow the user to input their choice of rock, paper or
ev
ity
C
R
scissors and store that choice.
rs
w
ie
ve
t-
Open source file 1.17_Sofia_rock_paper_scissors. You can see that Sofia
ev
en
ni
has decided to use two sub-routines that are called from the main code
R
m
on the left.
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
Then label the sub-routines with what they do, using comments.
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
64
y
op
&
-C
C
es
R
rs
ve
t-
1.4 Planning programs
en
ni
U
m
ge
ss
So far, the program generates a random choice for the computer, it
se
id
asks the user for their choice and then it counts down from 3 and
br
As
displays both choices at once. But that is all it does. It doesn’t yet
am
y
know which player has won the round or whether it’s a draw.
op
&
-C
C
es
Programming task 2
w
y
Pr
op
ie
ev
ity
You will need: a desktop computer, laptop or tablet, access to Scratch,
C
R
rs
source file 1.17_Sofia_rock_paper_scissors, your completed table from
w
ie
ve
t-
Unplugged activity 5
ev
en
ni
R
m
Part A
ge
ss
You now need to complete this part of Sofia’s project plan:
se
id
br
y
the user or the computer.
op
&
-C
C
You could use the
es
w
y
ie
you having to put together
ev
announce the result.
ity
C
ve
t-
when the user selects ‘rock’ first.
of code and selecting
ev
en
ni
ss
se
As
Part B
am
y
op
&
w
y
ie
‘paper’ or ‘scissors’.
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
65
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Programming task 3
se
id
br
As
am
You will need: a desktop computer, laptop or tablet, access to Scratch,
y
op
&
your project plan from Unplugged activity 1 and your interface
-C
C
prototype from Activity 3
es
w
y
Pr
op
ie
Now you have all the programming parts ready for your game of rock, paper, scissors.
ev
ity
C
Use your project plan and interface prototype to start to develop your game.
R
rs
w
Are there any extra features you might add to your game? If you decide to
ie
ve
t-
make changes to your plan, that’s OK. Programmers do this all the time.
ev
en
ni
R
m
How am I doing?
ge
ss
Swap your program with a partner. Run your partner’s program and
se
id
y
op
&
• How are they different?
-C
C
• Explain to your partner how the project plan helped you to develop
es
w
your program.
y
Pr
op
ie
• Tell your partner what you would do differently if you were to start
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
Some programmers like to write really detailed plans that they stick to
ge
ss
when programming. Others like to write less detailed plans and come
se
id
up with new ideas while they program. Discuss with your partner how
br
As
y
op
&
-C
C
es
w
y
ie
ev
-R
rs
w
ve
en
ni
R
ss
As
am
66
y
op
&
-C
C
es
R
rs
ve
t-
1.5 Evaluating and testing programs
en
ni
U
m
ge
ss
1.5 Evaluating and testing programs
se
id
br
As
am
y
We are going to:
op
&
-C
C
• think of criteria for a program and use them to evaluate a program
es
w
y
Pr
op
ie
ev
ity
C
evaluation systematic
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
Getting started
-R
rs
w
ve
t
ev
en
• You know how to test different parts of a program and debug errors.
ni
R
ss
se
id
br
As
am
67
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Sofia is trying to reduce how much paper and ink she uses. She decides
op
&
-C
to send Marcus an online birthday card that she created using Scratch.
C
es
Have a look at the code for her project.
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
With a partner, evaluate Sofia’s program. Think about which parts you like and
R
rs
w
which parts could be improved. Share your ideas with the rest of the class.
ie
ve
t-
ev
en
ni
R
m
ge
ss
Evaluation
se
id
br
C
es
that often takes place in your classroom or in activities a time when you
w
y
Pr
ie
it help?
ie
ve
en
ni
keep improving.
R
m
ge
ss
se
id
br
As
am
68
y
op
&
-C
C
es
R
rs
ve
t-
1.5 Evaluating and testing programs
en
ni
U
m
ge
ss
Programming task 1
se
id
br
As
am
You will need: a desktop computer, laptop or tablet, access to Scratch and
y
op
&
source file 1.18_Marcus_polar_bear
-C
C
es
Open source file 1.18_Marcus_polar_bear and run Marcus’s animation. Work with a
w
y
Pr
op
ie
partner to discuss what you like about the program and how it could be improved.
ev
ity
C
Modify the project with your partner to make the improvements you have suggested.
R
rs
w
ie
ve
t-
ev
en
ni
Success criteria
R
m
ge
ss
To make evaluations more effective, we need success criteria. Success criteria can be
se
id
As
have different success criteria. Having a defined set of success criteria can help to focus
am
y
our evaluations and make it easier to see what we could do to improve a project.
op
&
-C
C
es
Unplugged activity 1
w
y
Pr
op
ie
Marcus asked both Arun and Sofia to evaluate the polar bear animation.
ev
ity
C
The animation should tell a story that makes sense. Arun did not receive
R
rs
w
ve
t-
• The sizes of the sprites should be appropriate.
ev
en
ni
• The text should appear for long enough for a user to read.
R
ss
se
‘repeat’ loops.
As
With a partner, have a look at the bigger and the llama smaller. The text didn’t
y
op
&
-C
two evaluations below. appear on the screen for long enough – perhaps
s
C
es
Discuss which evaluation you it could have been there for three or four seconds
w
y
Pr
loop to do a backflip.
C
-R
rs
w
ie
ve
en
ni
ss
As
am
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
Defining success criteria
ss
se
id
br
When defining criteria for a successful project, you should
As
am
think about what the project needs to do.
y
op
&
-C
C
es
a story that made sense. It needed characters to tell the story using
w
y
Pr
text in speech bubbles.
op
ie
ev
ity
C
Your teachers may define criteria for your work. For example,
R
rs
in an art project, recreate a piece of art in the style of an
w
ie
ve
t-
established artist. In a science experiment, you might
ev
en
be successful if you explain how it was a fair test.
ni
R
m
In the next activity, you are going to work together to
ge
ss
define criteria for a successful rock, paper, scissors game.
se
id
br
User experience As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
program is part of the user experience. This is
ity
C
R
the experience you have (how you feel) as a user
rs
w
ie
ve
en
ss
As
C
es
w
y
ie
ev
ve
t
ev
has improved.
ge
ss
se
id
br
As
am
70
y
op
&
-C
C
es
R
rs
ve
t-
1.5 Evaluating and testing programs
en
ni
U
m
ge
ss
Questions
se
id
br
As
1 Have you used any programs where the user experience
am
y
was really good? What were they?
op
&
-C
C
es
was really bad? What were they?
w
y
Pr
op
ie
3 What was it about these programs that made it a good
ev
ity
C
R
rs
w
ie
ve
t-
Unplugged activity 2
ev
en
ni
R
m
ge
ss
In the previous topic, you created a rock, paper,
se
id
As
am
y
op
&
of what the game needs to do. Define criteria
-C
C
you could use to evaluate the user experience
es
w
of these games. What would a successful
y
Pr
op
ie
game include?
ev
ity
C
R
rs
w
ve
t-
use to evaluate your games. Write your group
ev
en
ni
ss
As
y
op
&
Swap your rock, paper, scissors game with a partner and use the criteria
-C
you decided on as a class to evaluate each other’s games. Tell your partner
es
what they have done well and how they could improve the user experience
y
Pr
op
ie
of their game.
ev
ity
C
Listen to your partner’s evaluation of your game. If you agree with them,
-R
rs
w
make the changes to your project. You could even add a note in the
ie
ve
en
ni
R
m
ge
ss
se
id
br
As
am
71
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Improving the code
se
id
br
As
You may have noticed that sometimes an
am
y
op
&
update becomes available for you to install
-C
s
on your device. In order to keep your device
C
es
running well, you need to install the latest
w
y
Pr
op
ie
software update.
ev
ity
C
R
rs
w
ve
t-
there are teams of developers constantly trying to
ev
Stay safe!
en
ni
m
may need to run an update to fix errors in the code, or It is always a good
ge
ss
they may think of ways to improve the user experience. idea to install
se
id
As
which you need to accept and apply before you because they often
am
y
can see the improvements. contain security
op
&
improvements that
-C
C
es
w
y
ie
to improve in your programs.
ev
ity
C
t-
ev
en
m
ge
ss
se
id
br
As
Testing programs
am
y
op
&
-C
C
es
Pr
op
-R
rs
w
ve
en
ni
ss
As
am
72
y
op
&
-C
C
es
R
rs
ve
t-
1.5 Evaluating and testing programs
en
ni
U
m
ge
ss
Did you know?
se
id
Sometimes programs are released that haven’t
br
As
been properly tested. One famous online game
am
y
op
&
was released before it was ready and it contained
-C
s
lots of bugs in the code. Users from around the
C
es
world complained and it got such bad reviews that
w
y
Pr
op
ie
the game company had to give everyone their
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
m
your rock, paper, scissors game before sharing it
ge
ss
on Scratch. If it works successfully every time,
se
id
y
op
&
any bugs, then you can go back to your
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
Programming task 2
ge
ss
se
id
As
Scratch and your rock, paper, scissors game from Topic 1.4 or
am
C
es
Pr
op
ie
1 What would happen if the user entered something you didn’t expect,
ev
ity
C
2 Now you are going to try other data types. Try entering a number and write
ie
ve
down what happens. Then enter a single letter and note down what happens.
t
ev
en
ni
3 How should your program react if the user enters unexpected data?
R
Discuss this question with a partner and share your solutions with the class.
ge
ss
se
id
br
As
am
73
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Systematic testing
se
id
br
Systematic testing means thinking
As
am
carefully about the way you will test
y
op
&
something instead of just testing
-C
C
it randomly. Imagine that your
es
w
friend had developed a calculator
y
Pr
op
ie
app in Scratch and wanted you to
ev
ity
C
R
rs
w
ve
t-
inputting some addition calculations
ev
en
ni
m
were accurate. Next you might test
ge
ss
subtraction, then multiplication and
se
id
then division. If all of the answers were accurate, you could be more
br
As
confident that the app was working correctly because there was a
am
y
system to your testing.
op
&
-C
C
es
number of times you run the code. The more times you run your
w
y
Pr
ie
ev
always show the correct result. How many times do you think
ity
C
ve
t-
ev
en
ni
ss
As
am
has no bugs. y
op
&
Good idea,
-C
Pr
op
ie
for scissors.
-R
rs
w
ie
ve
I like
t
ev
en
ni
your systematic
R
thinking!
ge
ss
se
id
br
As
am
74
y
op
&
-C
C
es
R
rs
ve
t-
1.5 Evaluating and testing programs
en
ni
U
m
ge
ss
Programming task 3
se
id
br
As
am
You will need: a pen and paper, a desktop computer, laptop or tablet, access to
y
op
&
Scratch and source file 1.20_Marcus_rock_paper_scissors
-C
C
es
Marcus has created a rock, paper, scissors game.
w
y
Pr
op
ie
Open source file 1.20_Marcus_rock_paper_scissors. Work in pairs to test Marcus’s
ev
ity
C
program 15 times. Copy the table below to help you record the results.
R
rs
w
ve
t-
ev
en
ni
m
• record the computer’s choice
ge
ss
• record whether the program announces the result correctly.
se
id
Repeat this five times with ‘paper’, and finally repeat it five times
br
As
am
using ‘scissors’.
y
op
&
-C
C
es
w
y
Pr
op
ie
1
ev
ity
C
R
rs
w
2
ie
ve
t-
ev
en
ni
R
Maybe one
ge
ss
As
in the table?
y
Make sure you
op
&
-C
correctly!
w
y
Pr
op
ie
ev
ity
C
What did you notice when you typed ‘paper’ into Marcus’s game?
-R
rs
w
ve
t
ev
en
If you created your own game in Topic 1.4, test your code using the
ni
R
ss
se
id
br
As
am
75
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
The best programmers
se
id
get excited when they find a
br
As
am ‘bug’ in their code because it means
y
op
&
they know it is there, so they can
-C
C
solve the problem and improve
es
w
y
their program.
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
find a mistake in your
t-
ev
en
code (which happens to everyone),
ni
R
m
ge
ss
about it!
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
Questions
ity
C
R
rs
w
ie
ve
t-
4 How did you test the program in a systematic way?
ev
en
ni
ss
As
am
in this way?
s
C
es
Pr
op
ie
ev
ity
C
-R
rs
w
ve
t
ev
en
ni
ss
se
id
br
As
am
76
y
op
&
-C
C
es
R
rs
ve
t-
1.6 Using variables with a physical device
en
ni
U
m
ge
ss
1.6 Using variables with
se
id
br
As
a physical device
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
• develop a game for the BBC micro:bit that uses inputs and variables
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
input portable game console
se
id
br
output
y
op
&
-C
C
es
w
y
Pr
Getting started
op
ie
ev
ity
C
R
rs
w
ve
t-
a micro:bit.
ev
en
ni
R
received an input.
ss
se
id
As
am
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
77
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Play a game of ‘higher or lower’. Your teacher
op
&
-C
C
es
Decide whether the next random number will be
w
y
Pr
higher or lower.
op
ie
ev
ity
If you think the next number will be higher, go
C
R
to one side of the room. If you think the next
rs
w
ie
ve
t-
number will be lower, go to the other side of
ev
en
the room.
ni
R
m
If your guess is correct, you stay in the game
ge
ss
and play again. If your guess is incorrect,
se
id
y
op
&
Did you have a strategy for choosing
-C
C
your numbers?
es
w
y
Pr
op
I have a strategy
ie
ev
that I use for ‘higher or
ity
C
R
lower’. If the number is above 5
rs
w
ie
ve
t-
I predict that the next number will
ev
en
ni
ss
be higher.
se
id
br
As
My strategy
am
is to take it in turns
y
op
&
-C
C
es
and lower.
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
78
y
op
&
-C
C
es
R
rs
ve
t-
1.6 Using variables with a physical device
en
ni
U
m
ge
ss
Computing devices
se
id
br
As
Computers need an input device so that they can receive information.
am
y
op
&
An input device allows a user to provide input (tell the computer what
-C
s
they want it to do). The input device could be:
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
• a button or touchscreen for a smart watch
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
ss
back to the user. An output is information that the program gives to the
br
As
C
es
Pr
op
ie
ev
ity
C
For example, you might press some buttons on a calculator (input), then
-R
rs
w
the calculator will work out the answer (process) and then it will display
ie
ve
the answer on its screen (output). All of this happens very quickly.
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
79
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
This is an example of the input–process–output (IPO)
se
id
model. The IPO model is a way of describing how a
br
As
program or system operates: it takes in data,
am
y
works on it, then gives out data.
op
&
-C
C
es
Computer games
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
used to look like.
ev
en
ni
m
people started using them to program
ge
ss
simple games.
se
id
y
op
&
computer games such as PacMan, Space Invaders
-C
and Frogger.
C
es
w
y
Pr
op
ie
Did you know?
ev
ity
C
t-
ev
Ada Lovelace, daughter of the poet Lord Byron, was one of the
m
ss
As
am
C
es
Pr
op
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
80
y
op
&
-C
C
es
R
rs
ve
t-
1.6 Using variables with a physical device
en
ni
U
m
ge
ss
As technology improved, computer scientists developed the
se
id
portable game console – a small, handheld computer that
br
As
didn’t need to be plugged in like other computers did.
am
y
This meant that for the first time, people could take their
op
&
game consoles wherever they liked and play games
-C
C
outside their home.
es
w
y
Pr
Portable game consoles normally used buttons as their
op
ie
ev
input devices and had a small screen to display the output
ity
C
to the user.
R
rs
w
ie
ve
t-
ev
en
ni
m
ge
ss
A physical programming device is a computing device that
se
id
As
The micro:bit is an example of a physical programming device.
am
y
op
&
It is a small, programmable device that has a variety of inputs (such as
-C
buttons) and outputs (such as the LED display). You can write code on
C
es
your computer using the MakeCode interface and then download the
w
y
Pr
op
ie
program to your micro:bit.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
81
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Just as computer programmers develop computer games for consoles,
se
id
you are going to create code for a game that you will download to
br
As
a micro:bit. It will use buttons as its input devices and the screen as
am
y
its output device. Once your game is downloaded onto the micro:bit
op
&
you can take your game out into the playground, like your very own
-C
C
portable game console!
es
w
y
Pr
Think of a game you have played before. Whole teams of developers
op
ie
ev
would have planned exactly how that game should start, which
ity
C
buttons you should press and other details about how the game looks.
R
rs
w
They would have spent months developing, testing and updating the
ie
ve
t-
ev
en
ni
R
m
In this topic, you are going to work like a game developer to plan and
ge
ss
program a micro:bit version of the game ‘higher or lower’.
se
id
br
As
Unplugged activity 1
am
y
op
&
Think about when you have used a micro:bit in the past.
-C
C
Discuss with a partner how you might program a micro:bit to play
es
w
y
the game ‘higher or lower’. How might the user find out the first number?
Pr
op
ie
How might they tell the device they think the next number will be
ev
ity
C
higher or lower?
R
rs
w
ve
t-
ev
en
ni
R
Stay safe!
ge
ss
C
es
w
y
Pr
op
ie
ev
ve
en
ni
different input or output devices.) This means your user could input data
ge
ss
(tell the device what to do) by shaking it, pressing a button or tilting it.
se
id
br
As
am
82
y
op
&
-C
C
es
R
rs
ve
t-
1.6 Using variables with a physical device
en
ni
U
m
ge
ss
The program that you create in MakeCode and then download to
se
id
the micro:bit allows the device to process the input. For the game of
br
As
‘higher or lower’, the process will involve working out if the number is
am
y
higher or lower and what to do if the user is correct or incorrect.
op
&
-C
C
es
and a screen made up of LEDs. If the user guesses correctly, you could
w
y
Pr
program the speaker to play a sound or you could use the screen to
op
ie
ev
display a simple message.
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
speaker
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
Programming task 1
R
m
ge
ss
y
op
&
Part A
-C
C
es
Pr
op
ie
lower’ game using Scratch. In their game, the user inputs their
ev
ity
-R
They use sub-routines: one for ‘Correct guess’ and one for
rs
w
ie
ve
en
m
ge
ss
se
id
br
As
am
83
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Continued
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
Part B
w
y
Pr
op
ie
Open source file 1.21_higher_or_lower and take it in turns with
ev
ity
C
R
rs
w
ve
t-
ev
en
Part C
ni
R
Look at the code. Choose one block of code and discuss what it
ge
ss
As
y
op
&
ie
ev
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
84
y
op
&
-C
C
es
R
rs
ve
t-
1.6 Using variables with a physical device
en
ni
U
m
ge
ss
Adapting the game for micro:bit
se
id
br
As
The game in Programming task 1 was developed for Scratch
am
y
but you are going to develop your game for the micro:bit.
op
&
-C
C
es
Unplugged activity 2
w
y
Pr
op
ie
You will need: a pen and paper
ev
ity
C
R
rs
w
Discuss with your partner which parts of the Scratch game might be
ie
ve
t-
similar in your micro:bit game and which parts might be different.
ev
en
ni
R
m
I know it won’t
ge
ss
be possible to have
se
id
As
in the micro:bit game because the
am
y
op
&
micro:bit screen is different
-C
C
from Scratch.
es
The micro:bit
w
y
Pr
op
ie
game needs to have
ev
ity
C
ve
t-
micro:bit game of ‘higher or lower’ should include.
ev
en
ni
as you will need to use these when creating your code for the micro:bit.
ge
ss
se
id
br
As
C
es
One way to do this is to act out your code. This means going through
w
y
Pr
op
ie
the program step by step and ‘performing’ or ‘telling the story’ of what
ev
ity
C
don’t fully understand, this gives you a chance to discuss what the
w
ie
ve
en
ni
R
m
ge
ss
se
id
br
As
am
85
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Unplugged activity 3
se
id
br
As
You will need: Resource sheet 1.16, three containers, a large,
am
y
clear space on a table
op
&
-C
C
Act out your code.
es
w
y
Pr
Cut out the number cards on Resource sheet 1.16.
op
ie
ev
ity
C
Use the number cards 1 to 9 to represent the random numbers and use
R
rs
three spaces or containers on your table to represent the variables.
w
ie
ve
t-
Tell the story of how your code will run during the game.
ev
en
ni
m
• When the user begins the program . . .
ge
ss
se
id
As
• The Random number variable will be set to . . .
am
y
op
&
• The Next random number variable will be set to . . .
-C
C
• The user will be shown . . .
es
w
y
Pr
ie
ev
ity
C
R
rs
w
ve
t-
ev
ss
As
How am I doing?
am
y
op
&
w
y
ie
-R
rs
ve
en
ni
R
m
ge
ss
se
id
br
As
am
86
y
op
&
-C
C
es
R
rs
ve
t-
1.6 Using variables with a physical device
en
ni
U
m
ge
ss
Using sub-routines in MakeCode
se
id
br
As
In Scratch, you can create sub-routines using the ‘broadcast’ block.
am
y
In the Scratch ‘higher or lower’ game, the ‘Incorrect guess’ sub-routine
op
&
-C
C
es
block is used.
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
There is no ‘broadcast’ block in the MakeCode interface . Instead, you
ni
R
m
ge
when it is called from the main code. It may be called several times when
ss
a program runs. This is very similar to how a ‘broadcast’ block works.
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
w
y
Pr
ie
ev
ity
C
• reduce the amount of repetition (so the same blocks of code aren’t
-R
rs
w
ve
more efficient
t
ev
en
ni
and corrected once, instead of having to correct the same error lots
ge
ss
As
am
87
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
If Sofia and Marcus’s Scratch game didn’t include sub-routines,
se
id
it would be one long stack of code with lots of repeated blocks!
br
As
am
Did you know?
y
op
&
-C
C
es
‘Make a Block’ button.
w
y
Pr
op
ie
ev
ity
C
R
Programming task 2
rs
w
ie
ve
t-
ev
en
ni
m
the internet and source file 1.22_function_example
ge
ss
se
id
Part A
br
As
am
Look at the code below. Discuss with your partner what you
y
op
&
think it does. Try to include the words ‘function’, ‘sub-routine’
-C
C
and ‘broadcast’ in your discussion.
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
ss
As
y
op
&
-C
C
es
w
y
Pr
op
ie
ve
en
ni
m
ge
As
am
88
y
op
&
-C
C
es
R
rs
ve
t-
1.6 Using variables with a physical device
en
ni
U
m
ge
ss
Continued
se
id
br
As
Part B am
y
op
&
Click the ‘Edit’ button at the top of the screen to modify the program.
-C
C
es
Add another function that will do something different when the user
w
y
Pr
presses button B.
op
ie
ev
ity
C
R
rs
w
Give your function a name, tell the program what it should do when
ie
ve
t-
it is called, then program it to be called when button B is pressed.
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
Use the simulator to test your program. When you are happy with your program,
ge
ss
As
Swap your program with a partner and test each other’s programs.
y
op
&
-C
C
es
Pr
op
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
89
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Planning your game
se
id
br
As
Now that you understand how functions work, it’s time to program
am
y
your ‘higher or lower’ game for the micro:bit. Before you begin, it is a
op
&
-C
C
es
decompose complex projects and then decide who will work on the
w
y
Pr
different parts.
op
ie
ev
ity
C
R
rs
w
My first task is to
ie
ve
t-
get the micro:bit to show
ev
en
ni
m
program starts. I will focus on
ge
ss
that first and then move
se
id
As
am
y
op
&
Let’s get
-C
C
coding!
es
w
y
Pr
op
ie
ev
ity
C
R
Programming task 3
rs
w
ie
ve
t-
ev
en
ni
ss
functions and some of the variables have already been created, but y
op
&
others still need to be created. Most of the functions are not complete so
-C
the program is not finished. Click the ‘Edit Code’ button to work on this
es
w
y
project and develop your own ‘higher or lower’ game for the micro:bit.
Pr
op
ie
ev
ity
C
How am I doing?
-R
rs
w
ve
en
ni
If your game doesn’t meet all the criteria, what else do you need to do?
R
m
ge
ss
se
id
br
As
am
90
y
op
&
-C
C
es
R
rs
ve
t-
1.6 Using variables with a physical device
en
ni
U
m
ge
ss
Continued
se
id
br
As
If your project does meet all the criteria, how could you extend your game?
am
y
op
&
-C
C
es
Does your project
w
y
Pr
say the game is over if the
op
ie
next random number is the same
ev
ity
C
R
rs
w
ie
this be changed?
ve
t-
ev
en
ni
R
m
ge
ss
Is it possible
se
for there to be a
id
br
top score?
As
am
y
op
&
-C
C
es
w
Activity 4
y
Pr
op
ie
ev
ity
C
You will need: a desktop computer or laptop, a micro:bit, a mini USB cable and
R
rs
w
ve
t-
access to the MakeCode app, your ‘higher or lower’ game from Programming
ev
en
ni
m
ge
ss
C
es
Pr
ie
-R
rs
ve
en
ni
the class.
ge
ss
se
id
br
As
am
91
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
se
id
You have developed programs in MakeCode for the micro:bit and in
br
As
Scratch. Which coding environment do you prefer to use and why?
am
y
op
&
Discuss your answer with a partner and then share your ideas with
-C
C
the rest of your class.
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
Many other games can be programmed for the micro:bit.
ev
en
ni
m
you how to program different types of games.
ge
ss
se
id
br
As
am
y
op
&
-C
I can develop a ‘higher or lower’ game for the micro:bit that uses
s
C
es
w
y
Pr
op
ie
I can develop a game for the micro:bit that generates an output.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
92
y
op
&
-C
C
es
R
rs
ve
t-
1.6 Using variables with a physical device
en
ni
U
m
ge
ss
Project
se
id
br
As
Create a Scratch quiz
am
y
op
With a partner, you are going to create a quiz in Scratch.
&
-C
C
es
the following tasks.
w
y
Pr
op
ie
• Write a list of success criteria for your program.
ev
ity
C
R
rs
w
ie
ve
t-
• Create a project plan for the program.
ev
en
ni
m
• Develop the program.
ge
ss
se
• Test and evaluate the program.
id
br
As
Here are some ideas for what you could include in your quiz:
am
y
op
&
• a score variable
-C
C
• different levels with different backgrounds
es
w
y
Pr
ie
the different levels
ev
ity
C
R
rs
w
ve
t-
• sprite animations
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
93
y
op
&
-C
C
es
R
rs
ve
t-
1 Computational thinking and programming
en
ni
U
m
ge
ss
Check your progress
se
id
br
1 In a flowchart, what shape are decisions?
As
am
(Hint: They usually have a ‘Yes’ and ‘No’ arrow
y
op
&
coming from them.)
-C
C
es
2 What three data types did you explore earlier in the unit?
w
y
Pr
op
ie
3 In Scratch, which block would you use if you wanted to include
ev
ity
a conditional statement in your program?
C
R
rs
w
ve
t-
same. Explain whether you agree or disagree with this statement
ev
en
ni
m
5 Explain what the green ‘join’ block does in Scratch.
ge
ss
se
In Scratch, event blocks are used to start a program.
id
6
br
y
op
&
-C
C
es
in programming.
w
y
Pr
op
ie
8 How might a sub-routine be used in a quiz?
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
94
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
Managing data
U
2
m
ge
ss
se
id
br
As
am
2.1 Capturing data
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
a statistical investigation
ie
ve
t-
• explore how to plan a statistical investigation
ev
en
ni
R
m
ge
ss
• design an appropriate form to collect continuous data.
se
id
br
As
am
y
op
&
collaborate question type
-C
C
continuous data statistical investigation
es
w
criteria validation rules
y
Pr
op
ie
questionnaire
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
Getting started
m
ge
ss
As
am
C
es
w
y
ie
ev
ve
en
ni
up the investigation.
R
ss
se
id
br
As
am
95
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Look at these descriptions of statistical investigations.
op
&
-C
C
es
1 An investigation 2 An investigation to 3 An investigation to
w
y
Pr
op
ie
to find out the find out who is the find out the most
ev
ity
C
R
rs
w
ve
t-
the day school canteen
ev
en
ni
R
m
What type of data is collected in each investigation –
ge
ss
discrete, categorical or continuous data?
se
id
br
y
op
&
-C
C
es
w
y
Statistical investigations
Pr
op
ie
Remember, you
ev
ity
C
R
rs
w
to help you find the answer to a question. by adding all of the numbers
ie
ve
t-
For example, Sofia might want to find out the up and dividing the total
ev
en
ni
mean number of goals she scored in every football by the number of numbers
R
ss
As
am
1st 3
-C
C
es
2nd 5
w
y
Pr
op
ie
3rd 1
ev
ity
C
4th 2
-R
rs
w
ie
ve
Mean 2.75
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
96
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
Arun might want to find out how many different birds he sees
se
id
in his garden in an hour. He could count the birds he sees
br
As
over the space of an hour to find this out. This is another
am
y
example of a statistical investigation.
op
&
-C
C
es
Different types of data
w
y
Pr
op
ie
ev
ity
C
R
rs
w
continuous data.
ie
ve
t-
Categorical data can be grouped into categories. It is usually an
ev
en
ni
m
include favourite cupcake flavour, colour of pet, favourite type of cat,
ge
ss
favourite lesson, favourite book and age group such as 7 to 11.
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
ie
ve
ss
time in a race.
br
As
am
97
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
Discrete data is numerical but can only have whole values like 0 or 1.
s
C
es
w
y
Pr
op
ie
ev
learners in the class, number of customers in a shop, number of
ity
C
R
pets and age.
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
98
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
Planning an investigation
se
id
br
As
When planning a statistical investigation, you need to think about
am
y
the following questions:
op
&
-C
s
• What do you want to find out? For example, you might want to
C
es
find out what sort of pets people in your class have.
w
y
Pr
op
ie
• What questions will help you to find out this information?
ev
ity
C
Any questions you ask must give you exactly the information
R
rs
w
you need. You need to think about what sort of answers you will
ie
ve
t-
receive. Do you want to give a choice of answers, or for people to
ev
en
ni
answer freely?
R
m
• Who will you ask? This is linked to what you want to find out.
ge
ss
If your question is specific, you will know which group of people
se
id
As
class have?’ is specific. ‘Which pets do people have?’ is not specific.
am
y
op
&
• How will you collect the data? This depends on the data you
-C
C
are trying to collect. If you are asking a simple question such as
es
w
y
ie
If you are measuring the temperature of something every
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
99
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
• How will you analyse the data? Depending on the type of data
se
id
you have collected, you might use a suitable chart or graph.
br
As
• What tools will you use throughout the process? For example,
am
y
if you are collecting data on temperatures or light levels,
op
&
-C
C
es
There is a range of different tools that you can use to collect
w
y
Pr
op
ie
data in a statistical investigation, for example:
ev
ity
C
• data loggers
R
rs
w
ie
• spreadsheets
ve
t-
ev
en
ni
• databases
R
m
• other tools like questionnaires or online forms.
ge
ss
se
id
br
Data loggers
As
am
y
op
&
A data logger is a device that uses sensors to collect data over time.
-C
C
es
w
y
ie
temperature and wind speed for the location of the station every hour.
ev
ity
C
t-
ev
en
ni
ss
As
C
es
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
100
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
Can you think of a time when you used a data logger in school?
se
id
Often, a data logger can collect data on its own. It does not need a
br
As
person to be there every time data needs to be collected. This means
am
y
it can be left alone or put in a place that is difficult for a person to
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
Every year there are between 12 000 to 14 000 earthquakes in the world. These are
R
rs
w
measured using a type of data logger called a seismograph. You can see information
ie
ve
t-
about earthquakes around the world using weather station websites.
ev
en
ni
R
m
ge
ss
Unplugged activity 1
se
id
br
As
y
op
&
-C
C
es
continuous data.
w
y
Pr
op
ie
-R
rs
w
ve
Were all three of your partner’s suggestions examples that would use continuous
t
ev
en
ni
data? Give them a mark out of three, one mark for each correct suggestion.
R
If they lost any marks, work together to come up with a new suggestion.
ge
ss
se
id
br
As
am
101
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Spreadsheets
se
id
br
Remember
As
You may have learnt about how
am
that * is the symbol
y
spreadsheets are used in statistical
op
&
for multiplication and / is the
-C
C
es
is a useful tool for statistical symbol for division in
w
y
a spreadsheet!
Pr
investigations because you can use
op
ie
it to store data. You can use spreadsheets
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
You can also use spreadsheet software to present data visually
R
m
ge
ss
data. Charts and graphs often make it easier to understand
se
the data you have collected.
id
br
As
Look at the two images below. They show the same data but the data
am
y
is represented in different ways. Which is more useful for identifying
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
102
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
Activity 2
se
id
br
As
You will need: a desktop computer, laptop or tablet, spreadsheet software,
am
y
a pen and paper, a thermometer
op
&
-C
C
es
Investigate the temperature of your classroom to see how it changes
w
y
Pr
during the day.
op
ie
ev
ity
C
R
rs
a shelf or table. Your teacher might have a good suggestion.
w
ie
ve
t-
Create this table in a spreadsheet:
ev
en
ni
R
m
Time Temperature
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
At the start of the school day, take the temperature on the thermometer and
R
rs
w
record this in your table. Do the same at the end of every lesson until the end
ie
ve
t-
ev
The following day, enter the results into a spreadsheet. Use the headings
m
ge
ss
Select the data in the spreadsheet and create a suitable chart to represent
br
As
the data. You may be familiar with this from previous learning. Make sure
am
you have added a suitable title to the chart and included a key.
y
op
&
-C
Print out your spreadsheet and chart and stick it in your exercise book.
C
es
w
y
Under the chart, describe what the results tell you. For example,
Pr
op
ie
when is the hottest time in the classroom? Why do you think this is?
ev
ity
C
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
103
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Databases
se
id
br
As
A database is a useful way of storing, organising and analysing
am
y
data. For example, if your database stores a list of people and their
op
&
-C
favourite fruit, you can search or filter the data to answer questions
C
es
such as ‘Which people like pineapple?’ This is what the database
w
y
Pr
might look like before you filter the data:
op
ie
I wonder
ev
ity
C
R
rs
w
in my class like
ie
ve
t-
ev
pineapple.
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
This is what the database would look like if you used a filter y
op
&
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
104
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
The database can tell you which people meet these criteria. Criteria are
se
id
requirements. For example, search criteria are requirements for the type
br
As
of information you are looking for when you search a database
am
y
or the internet.
op
&
-C
C
es
to create simple databases and analyse the data in them. Remember
w
y
Pr
that spreadsheet software can be used for many other tasks too!
op
ie
ev
ity
C
R
rs
w
ve
t-
An example of a database could be a record of all the car licence
ev
en
ni
m
to see who a car belongs to.
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
Other tools
w
y
Pr
op
ie
ev
ve
t
ev
tool as it automatically checks your spelling, and you can email the
en
ni
R
m
ge
ss
se
id
br
As
am
105
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
You could use an online form to create
se
id
a questionnaire for people to fill in.
br
As
A questionnaire is a series of questions that
am
y
you want to ask people. Creating a form online
op
&
means you do not have to print out lots of paper
-C
C
copies to hand out, and you can ask people far
es
w
y
Pr
op
ie
link to your form on a website, or email people
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
Unplugged activity 3
se
id
br
As
You will need: a pen and paper
am
y
op
&
Copy the following table. Write down which data collection tool would
-C
C
be the best to use for each investigation.
es
w
y
Pr
op
ie
Investigation Best tool to use
ev
ity
C
R
Measure the rainfall in a month
rs
w
ie
ve
t-
How many people visit the supermarket
ev
en
ni
on a Monday
R
m
ge
As
device in a day
y
op
&
-C
C
es
w
y
1 Work with a partner. Select one of the investigations from the table and explain
Pr
op
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
106
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
Planning a form
se
id
br
As
People are often asked to fill in forms
am
y
op
&
requesting their personal details.
-C
s
For example, this might happen when
C
es
they move to a new school or enter
w
y
Pr
op
ie
a competition.
ev
ity
C
R
rs
w
ve
t-
have recently bought or on a hotel they
ev
en
ni
m
like to have people’s feedback so they
ge
ss
know if their customers are happy or if
se
id
As
am
y
op
&
Creating a form to collect Stay safe!
-C
C
es
w
y
Pr
op
ie
ev
social media. Think
ity
C
R
carefully about what
rs
ve
information you
t-
• Phrase your questions precisely.
ev
en
day in a classroom at midday each day last week, you know who might see
ge
ss
should make sure you include all of these elements in it or what it could be
se
id
As
am
C
es
Pr
op
ie
You should also make sure that you do not allow people
ev
ity
C
to type their own text answers, and that you only accept
-R
rs
w
ve
en
ni
R
ss
As
am
107
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
• Over what period should the data be entered? If you want data
se
id
every day for a week, make sure this is clear. Again, make sure
br
As
there is space in your form to add data every day.
am
y
• What measurements are you going to use?
op
&
-C
C
es
Your form should specify the measurements
w
y
Pr
op
ie
you will accept answers in.
ev
ity
C
R
rs
w
ie
t-
ev
en
ni
R
m
ge
ss
Unplugged activity 4
se
id
As
am
y
Work with a partner for this activity.
op
&
-C
C
Zara and Arun have each decided
es
w
to make a form to collect data on
y
Pr
op
ie
everyone’s height in the class so
ev
ity
C
R
rs
w
ve
t-
the school photo.
ev
en
ni
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
108
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
Continued
se
id
br
Now look at Arun’s form:
As
am
y
Whose form is better?
op
&
Think about:
-C
C
es
• question type
w
y
Pr
op
ie
• preciseness of the question
ev
ity
C
R
rs
w
ve
t-
ev
en
• whether everyone in the
ni
R
m
ge
ss
the form with their data.
se
id
As
form is more appropriate,
am
y
think about any further
op
&
changes you could make
-C
C
es
w
y
ie
two suggestions.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
How do you make sure that you listen to your partner properly?
w
y
Pr
op
ie
How did you make sure you agreed on your chosen questions?
-R
rs
w
ve
t
ev
en
your partnership?
ni
R
m
ge
ss
se
id
br
As
am
109
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Creating a form
se
id
br
As
There are many different ways to create an online form.
am
y
op
&
One popular way is to use an online form creator, like Google Forms.
-C
C
This is an example of an online form.
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
110
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
Online form creators are very easy to use. They also allow you to
se
id
collaborate (work with other people) on the same document at the
br
As
same time with a partner or group and share the finished
am
y
form with anyone.
op
&
-C
Online form creators give you lots of options when choosing question
C
es
type (the way in which you ask your question). For example, you can
w
y
Pr
choose to insert an open text question, a multiple choice question,
op
ie
ev
a ranking question or another type of question. Some online form
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
Question types
es
w
y
Pr
op
ie
ve
en
ni
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Open text questions
se
id
br
Open text questions allow people to write their own answer, but
As
am
they might not submit their answer in the correct format or with
y
op
&
the correct type of measurement. To prevent this, you could allow a
-C
C
written answer with validation rules. Validation rules are restrictions
es
w
that make sure that only certain types of answer are accepted, like
y
Pr
op
ie
only words or only symbols. You may remember validation rules
ev
ity
C
R
rs
w
ve
t-
ev
en
• Why do you like reading?
ni
R
m
• What is your favourite lesson and why?
ge
ss
• What is your opinion on the local library?
se
id
br
y
op
&
-C
C
es
w
y
Pr
can have any value, it would take forever to add answer options to
op
ie
cover every possibility. You could limit the options you provide, but this
ev
ity
C
would mean that some people would not be able to enter their data.
R
rs
w
ie
ve
t-
Examples of multiple choice questions:
ev
en
ni
Yes No
ge
ss
se
id
As
Red Yellow
am
y
op
&
Pink Green
-C
C
es
Orange Purple
w
y
Pr
op
Blue Brown
ie
ev
ity
C
Other
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
112
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
Ranking questions
se
id
br
Ranking question types allow the person to select their response on a
As
am
scale, for example 1 to 5 where 1 is the worst and 5 is the best.
y
op
&
This type of question is useful when asking people their opinions
-C
C
about something, but it will not allow you to collect continuous or
es
w
discrete data.
y
Pr
op
ie
Example of a ranking question:
ev
ity
C
R
• How would you rate today’s lunch on a scale of 1 to 5,
rs
w
ie
ve
with 5 being excellent?
t-
ev
en
ni
R
m
1 2 3 4 5
ge
ss
se
id
br
As
Other questions
am
y
op
&
You also need to remember to ask
-C
C
es
w
y
Pr
op
ie
you might need to know the name of
ev
ity
C
R
rs
w
ve
t-
you would need to know if the person
ev
en
ni
ss
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
113
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Unplugged activity 5
se
id
br
You will need: a pen and paper
As
am
y
op
&
Work with a partner for this activity.
-C
C
es
Write questions for a form which will allow
w
y
Pr
op
ie
Choose one of these investigations to focus on:
ev
ity
C
R
rs
w
ie
t-
ev
en
ni
• You have a friend in Norway. You want to compare the average temperature
R
m
at midday across a period of a week between where you live and Norway.
ge
ss
• You want to find out who in your class has made the best paper plane
se
id
by seeing whose flies the furthest. You fly them three times each to get
br
accurate results.
As
am
y
op
&
• You want to know who in your class has the heaviest school bag.
-C
C
es
Think about:
w
y
Pr
op
ie
Remember,
ev
time and needs to be entered
ity
C
ve
t-
• when the data should
be any data that is measured
ev
en
ni
be recorded
and can take any value,
R
ss
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
114
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
Activity 6
se
id
br
As
You will need: a desktop computer, laptop or tablet with access
am
y
to the internet and source file 2.1_class_height_order
op
&
-C
C
es
Sofia has made some changes to Zara and Arun’s forms.
w
y
Pr
op
ie
ev
to see what she has done. Remember that you will need to open the form
ity
C
R
rs
w
ie
ve
t-
What happens when you try the following?
ev
en
ni
• Leave question 1 blank, scroll to the bottom of the page and press
R
m
the red ‘Next’ button.
ge
ss
• Select ‘No’ for question 2, ‘Would you like to be in the class photo?’.
se
id
br
As
• Enter the number 7 for question 3.
am
y
Why do you think Sofia designed the form to react in these ways?
op
&
-C
C
es
w
Suggest two reasons why Sofia’s form is more appropriate than
y
Pr
op
ie
Zara’s or Arun’s.
ev
ity
C
R
rs
w
ie
ve
t-
Benefits of an online form creator
ev
en
ni
R
ss
many advantages.
se
id
As
y
op
&
•
w
y
Pr
ie
ev
-R
You can easily share the link to the form with anyone in the world.
rs
•
w
ie
ve
en
ni
m
ge
ss
se
id
br
As
am
115
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Stay safe!
se
id
Using an online
br
When creating and
As
am form creator means someone
sending an online
y
from another country could complete
op
&
form, think about
your form. This is very useful when
-C
C
how you share the
es
you want to collect data from
w
form. Your teacher
y
Pr
all over the world!
op
ie
will show you how
ev
ity
C
R
rs
w
ve
t-
specific people can
ev
en
ni
m
ge
ss
se
id
Practical task 1
br
As
am
y
You will need: your questions from Unplugged activity 5, a desktop computer,
op
&
-C
C
es
w
y
You are now going to create an online form using your questions.
Pr
op
ie
Work with your partner. Use your paper plan to help you.
ev
ity
C
ve
t-
2 Under ‘Start a new form’ press ‘Blank’.
ev
en
ni
3 Create your form. (A template for the first question will appear automatically.)
R
ss
As
y
op
&
w
y
ie
You might need to slightly change the question types that you planned
-R
rs
w
ve
t
ev
en
ni
m
ge
ss
se
id
br
As
am
116
y
op
&
-C
C
es
R
rs
ve
t-
2.1 Capturing data
en
ni
U
m
ge
ss
Continued
se
id
br
As
5 When you are both happy with the form,
am
y
share it with others in your class:
op
&
-C
s
a Press ‘Send’ in the top right corner of the screen.
C
es
w
b Press on the link icon next to the envelope.
y
Pr
op
ie
c Press ‘Copy’.
ev
ity
C
R
If you are all using
rs
w
your classmates.
ie
ve
t-
the same computer, you
ev
6 To complete a form:
en
ni
m
other. Just press ‘Submit another
ge
a new web
ss
response’ after each person
browser tab.
se
id
y
op
&
-C
C
How are we doing?
es
w
Hold up a red, yellow or green card to show how confident you are with
y
Pr
op
ie
writing questions for a form.
ev
ity
C
• Red means you do not really understand and you need more help.
R
rs
w
ve
t-
ev
or more practice.
en
ni
R
ss
If you held up a green card for one of the questions, find someone who
se
id
held up a red or yellow card for that question. Help them to understand
br
As
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
117
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
se
id
Did you both agree on what question types to use when creating
br
As
the form? Why/why not?
am
y
op
&
How easy was the form to fill in? What made it easy or difficult?
-C
C
What would you do differently next time?
es
w
y
Pr
op
ie
ev
ity
C
R
Questions rs
w
ie
ve
t-
ev
en
ni
m
2 Suggest two question types that would not be appropriate
ge
ss
for collecting continuous data.
se
id
As
investigations, with examples of how they can be used.
am
y
op
&
-C
C
Look what I can do!
es
w
y
Pr
I can describe the role of different tools I can use in statistical investigations.
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
118
y
op
&
-C
C
es
R
rs
ve
t-
2.2 Creating a spreadsheet
en
ni
U
m
ge
ss
2.2 Creating a spreadsheet
se
id
br
As
am
y
op
&
We are going to:
-C
C
• explore the features of a spreadsheet
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
AVERAGE spreadsheet
ie
ve
t-
cell reference SUM
ev
en
ni
formula unique
R
m
ge
ss
se
id
Getting started
br
As
am
y
op
&
-C
C
es
w
•
y
Pr
op
ie
and /, for calculations.
ev
ity
C
R
rs
w
ie
ve
t-
• How to use built-in functions including SUM and AVERAGE.
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
119
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Look at the spreadsheet. It shows the cost of different items that are
op
&
-C
sold in a stationery shop and how many of each item the shop has.
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
With a partner, discuss how you could answer the following questions:
ity
C
R
rs
w
1 What formula could you use to work out the total cost of the pens?
ie
ve
t-
2 How could you calculate the total cost of all the items in the shop?
ev
en
ni
ss
As
am
y
op
&
Features of a spreadsheet
-C
C
es
w
y
ie
ve
t
ev
ss
se
id
br
As
am
120
y
op
&
-C
C
es
R
rs
ve
t-
2.2 Creating a spreadsheet
en
ni
U
m
ge
ss
You can use a spreadsheet to store data or information.
se
id
However, spreadsheets can do much more than store data!
br
As
They are powerful computing tools that we can use to
am
y
carry out complex calculations. Spreadsheets are often
op
&
used to analyse data such as sales, stocks of goods in a
-C
C
shop, or financial information.
es
w
y
Pr
op
ie
ev
ity
Cell references
C
R
rs
w
ie
ve
t-
Each cell has an address made up of a letter and a number.
ev
en
ni
m
In a cell reference, the letter tells you how far along the cell is from left
ge
ss
to right (which column the cell is in). The number tells you how far
se
id
As
Look at the spreadsheet in the picture. The selected cell has a cell
am
y
op
&
reference of B3.
-C
C
es
w
y
Pr
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
ss
se
id
br
As
am
121
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Cell references make it really easy to make calculations, because we can
se
id
use the cell reference to find values by just typing in the cell reference.
br
As
am
y
op
&
Formulas
-C
C
es
To make a calculation in a spreadsheet, we need to use a formula.
w
y
Pr
op
ie
A formula is an instruction to do a calculation. Spreadsheet formulas
ev
ity
C
R
rs
w
ve
t-
such as + (plus), − (minus), * (multiply), / (divide).
ev
en
ni
m
formula in a spreadsheet with numbers
ge
ss
and arithmetic operators, like this: I need to remember
se
id
As
of my formulas.
In this topic, you will use cell
am
y
op
&
references to make calculations.
-C
C
For example, =C3*D4 is an example of a simple formula that multiplies
es
w
y
ie
number 2 and the cell D4 contained the number 4, the formula
ev
ity
C
R
rs
w
ve
t-
ev
You must put the formula for the calculation you want to do in a
en
ni
R
separate cell (not either of the cells you are trying to use in the
U
calculation). Look at the spreadsheet below. You can see that the
ge
ss
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
122
y
op
&
-C
C
es
R
rs
ve
t-
2.2 Creating a spreadsheet
en
ni
U
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
When writing a formula, you can type directly into a cell. Click on an
s
C
es
empty cell to start typing into it. To change part of the data already in
w
y
Pr
op
a cell, double-click on the cell before typing. Alternatively, you can type
ie
ev
into the formula bar at the top of the spreadsheet. You only need to
ity
C
ve
t-
ev
en
ni
R
As
am
y
op
&
-C
C
es
w
y
Click or double-click
Pr
op
ie
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
123
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Unplugged activity 1
se
id
br
As
You will need: a pen and paper
am
y
op
&
Look at this spreadsheet belonging to the owner of a winter clothes shop.
-C
C
The owner knows how many items she sold and what she sold, but forgot
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
1 What formula would you need to write, and in which cell, to calculate
ge
ss
As
am
C
es
w
y
Pr
op
ie
Functions
ev
ity
C
-R
rs
w
ve
software’s code. There are lots of different functions that are ready for
t
ev
en
ni
that has already been written for us. We can call a function by using
ge
ss
As
am
124
y
op
&
-C
C
es
R
rs
ve
t-
2.2 Creating a spreadsheet
en
ni
U
m
ge
ss
When we want to use a function in a formula, we follow these steps:
se
id
1 start with an equals sign: =
br
As
2 add the name of the function we want to use,
am
y
op
&
for example SUM or AVERAGE
-C
C
3 type the cell references we want to use in the function in
es
brackets: ( ). This is so that the spreadsheet software can tell the
w
y
Pr
op
ie
difference between the function name and the rest of the formula.
ev
ity
C
R
rs
w
SUM
ie
ve
t-
ev
en
ni
R
selected cells.
m
ge
ss
For example, if we want to add up all the values in the cells A1 to A10,
se
id
y
the function we are using. The cells we Remember to
op
&
-C
want the sum of are written within add in the colon so that
s
C
es
w
y
Pr
ie
ev
of the cells from A1 to A10 (A1, A2, A3, to add together.
ity
C
ve
t-
ev
en
ni
AVERAGE
R
ss
As
am
formula: =AVERAGE(A1:A10)
-C
C
es
Pr
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
125
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Unplugged activity 2
se
id
br
As
You will need: a pen and paper
am
y
op
&
With a partner, identify the incorrect formulas in the following list.
-C
C
es
1 =SUMB5:B10
w
y
Pr
op
2 =(B5:B10)
ie
ev
ity
C
3 =SUM(B5:B10)
R
rs
w
4 AVERAGE(B5:B10)
ie
ve
t-
5 =AVERAGE(B5-B10)
ev
en
ni
6 =B5/B10
R
m
7 B5*B10
ge
ss
8 =AVERAGE(B5B10)
se
id
br
As
9 SUM=(B5:B10)
am
y
10 =AVERAGE(B5:B10)
op
&
-C
Why is each formula you have identified incorrect? Write them again, correctly.
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
Microsoft Excel, which gives us 17,179,869,184 cells in total.
ev
en
ni
R
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
126
y
op
&
-C
C
es
R
rs
ve
t-
2.2 Creating a spreadsheet
en
ni
U
m
ge
ss
Activity 3
se
id
br
As
You will need: a desktop computer, laptop or tablet, spreadsheet software
am
y
and source file 2.2_winter_clothes_shop
op
&
-C
C
es
Open source file 2.2_winter_clothes_shop.
w
y
Pr
op
ie
You will see that there are three empty
ev
ity
C
R
rs
do calculations in these cells using formulas.
w
ie
ve
t-
Type a formula in B14 to calculate the total
ev
en
ni
m
Type a formula in C14 to calculate the
ge
ss
total number of items sold.
se
id
br
y
op
&
-C
C
es
w
y
Pr
op
ie
Compare your answers with a partner.
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
• Did your partner use the SUM and AVERAGE formulas, or did they
R
ss
1 means the spreadsheet was perfect – the answers were correct and
br
As
y
op
&
2 means the spreadsheet was good but there was room for improvement.
-C
Maybe your partner used a different formula but got the right answers.
es
Pr
op
ie
3 means your partner did not get the right answers and did not
ev
ity
C
ve
t
ev
is correct.
en
ni
R
m
ge
ss
se
id
br
As
am
127
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Questions Stay safe!
se
id
As with any
br
As
1 Why is it useful to use cell references?
document,
am
y
2 Why should you use a formula? Give two reasons.
op
&
you should be
-C
s
3 What advantage is there to using a built-in function careful opening
C
es
in a spreadsheet? spreadsheets if you
w
y
Pr
op
ie
4 What formula or function would you use to calculate are not sure where
ev
ity
C
R
rs
w
This is because
ie
ve
t-
they can include
Planning a spreadsheet
ev
en
ni
m
can damage
In Topic 2.1, you planned the questions you wanted to ask
ge
ss
your computer.
your class before you created an online form.
se
id
br
carefully plan what it is going to look like and what you would
y
op
&
like it to do. You need to think about the formulas you could use
-C
C
and the type of data the cells might contain.
es
w
y
Pr
ie
ev
ity
C
R
rs
w
ve
t-
• How will I organise the data so that is it easy
ev
en
ni
to understand?
R
ss
As
am
these calculations? y
op
&
-C
I want to know
es
Pr
op
ie
ve
this calculation.
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
128
y
op
&
-C
C
es
R
rs
ve
t-
2.2 Creating a spreadsheet
en
ni
U
m
ge
ss
Unplugged activity 4
se
id
br
As
You will need: a pen and paper
am
y
op
&
Work in pairs to plan a class outing to the
-C
C
es
local park for a picnic.
w
y
Pr
op
ie
ev
will need for the picnic and the amount of
ity
C
R
rs
w
ie
ve
t-
Copy the following tables onto paper.
ev
en
ni
m
drink and up to three food items they would
ge
ss
like to eat from the lists below. They can
se
id
only choose items from the lists. Each person in the class
br
As
can vote for their choices. Your teacher will help you with this.
am
y
op
&
Food Number
-C
C
es
w
y
Pr
op
ie
Spring rolls
ev
ity
C
R
Crisps
rs
w
ie
ve
t-
Bhaji
ev
en
ni
R
Bao bun
ge
ss
Fruit salad
se
id
br
As
Crackers
am
y
op
&
Chicken sticks
-C
C
es
Chocolate
w
y
Pr
op
ie
Sugar cookies
ev
ity
C
-R
Cake
rs
w
ie
ve
Pakoras
t
ev
en
ni
R
Kebabs
ge
ss
se
id
br
As
am
129
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Continued
se
id
br
As
Drink am Number
y
op
&
Water
-C
C
es
Milk
w
y
Pr
op
ie
Soda
ev
ity
C
Juice
R
rs
w
ie
ve
t-
ev
en
ni
R
m
Selecting data for a purpose
ge
ss
se
id
y
op
&
pieces of data that allow you to answer
-C
You selected
s
C
es
w
y
ie
amount of data on what they sell
ev
the data you needed to make
ity
C
ve
calculations.
t-
they have sold, they need to select
ev
en
ni
ss
such as fruit, and calculate how many of each item they have sold.
se
id
As
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
130
y
op
&
-C
C
es
R
rs
ve
t-
2.2 Creating a spreadsheet
en
ni
U
m
ge
ss
The owner of the supermarket might not just want to know how many
se
id
apples have been sold that day, but they might want to know how
br
As
many apples are left in stock.
am
y
All these different scenarios can be worked out in a spreadsheet by
op
&
-C
C
es
To work out how many apples are left, the owner might use a formula
w
y
Pr
op
ie
that uses subtraction, but to work out how much money they will
ev
ity
C
make from selling all the apples, they might use a multiplication
R
rs
w
ve
t-
selecting the correct data to use in the calculations.
ev
en
ni
m
• type cell references into a formula
ge
ss
se
id
As
We already know how to type cell references into a formula from the
am
y
Functions section of this topic.
op
&
-C
C
es
Activity 5
w
y
Pr
op
ie
ev
ity
R
rs
ve
t-
ev
Look at source file 2.3. The spreadsheet shows weather data for one month.
en
ni
m
ge
ss
As
2 the mean minimum temperature for the month mean is a kind of average
am
to calculate
s
w
y
ie
Why would you not perform any calculations on the wind direction?
ev
ity
C
-R
ve
Show your partner what data you selected to perform each calculation.
t
ev
en
ni
R
ss
As
am
131
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Designing your own spreadsheet helps with this, because you will
se
id
know where to find the data you need for your calculations.
br
As
am
y
Unplugged activity 6
op
&
-C
C
es
You will need: a pen and paper and your completed tables
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
With the same partner you worked with in Unplugged activity 4, you are
ev
en
ni
going to plan a spreadsheet to record what is needed for the class picnic.
R
You can only buy the five most popular food items for the picnic.
ge
ss
As
• what the five most popular food items are (you should use
y
op
&
-C
C
es
Pr
op
ie
-R
ve
• what the average cost is for each person attending the picnic
t
ev
en
ni
m
ge
ss
se
id
br
As
am
132
y
op
&
-C
C
es
R
rs
ve
t-
2.2 Creating a spreadsheet
en
ni
U
m
ge
ss
Continued
se
id
The price lists for the food and drink are as follows.
br
As
am
y
Food Cost for 1 serving
op
&
-C
C
Tandoori turkey sandwich $1.07
es
w
y
Pr
op
ie
ev
ity
C
Crisps $0.59
R
rs
w
ie
ve
t-
Bhaji $1.13
ev
en
ni
m
ge
ss
Fruit salad $1.87
se
id
Crackers $0.61
br
As
am
y
Chicken sticks $1.01
op
&
-C
C
Chocolate $0.43
es
w
y
Pr
op
ie
ev
ity
C
Cake $0.85
R
rs
w
ie
ve
t-
Pakora $1.15
ev
en
ni
Kebabs $0.98
R
m
ge
ss
As
Water $0
am
y
op
&
Milk $0.41
-C
C
es
Soda $0.99
w
y
Pr
op
ie
Juice $0.81
ev
ity
C
Your spreadsheet plan should also show how you will use
-R
rs
w
ie
t
ev
en
ni
ss
As
am
133
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Continued
se
id
You should also show what data you will select when you
br
As
am
use formulas and functions.
y
op
&
As you work on your plan, think about these questions:
-C
C
es
• What headings will the data have?
w
y
Pr
op
ie
• Are you organising the data into columns or rows?
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
Activity 7
R
m
ge
ss
You will need: a desktop computer, laptop or tablet, spreadsheet software,
se
your plans from Unplugged activity 6
id
br
As
Work with the same partner as you did in Unplugged activities 4 and 6.
am
y
op
&
Use your plan from Unplugged activity 6 to create your picnic spreadsheet.
-C
C
Remember to use formulas and the SUM and AVERAGE functions.
es
w
y
Pr
op
ie
How are we doing?
ev
ity
C
Once you have completed your spreadsheet, share it with another pair.
R
rs
w
ve
t-
ev
Look at the spreadsheet from the other pair. Check the following:
m
ge
ss
As
y
op
&
arithmetic operators?
-C
w
y
Pr
op
ie
ev
ity
C
ve
en
ss
As
am
134
y
op
&
-C
C
es
R
rs
ve
t-
2.3 Creating a database
en
ni
U
m
ge
ss
2.3 Creating a database
se
id
br
As
am
y
We are going to:
op
&
-C
C
• design a single table database
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
attribute filter
ev
en
ni
m
data type record
ge
ss
field
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
Getting started
se
id
As
am
C
es
w
y
ie
ev
-R
rs
w
ve
t
ev
m
ge
ss
As
am
135
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Look at this database. It shows a range of information about some cars.
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
With a partner, discuss how you could use the database to answer
R
ss
y
op
&
-C
What is a database?
es
w
y
Pr
op
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
136
y
op
&
-C
C
es
R
rs
ve
t-
2.3 Creating a database
en
ni
U
m
ge
ss
A record provides all the data about one thing. For example, the record
se
id
below provides all the data about the car that Marcus’s mum drives:
br
As
am
y
Colour: red
op
&
-C
C
Car make: Toyota
es
w
y
Pr
op
ie
ev
Age (in years): 5
ity
C
R
rs
w
ie
ve
t-
Each record in a database is made up of
ev
en
ni
different fields. A field is a category of
R
m
ge
ss
in the record above, the fields are:
se
id
• Colour
br
• Car make
As
am
y
op
&
• Fuel type
-C
C
es
w
y
Pr
op
ie
A record is complete when all fields
ev
ity
C
R
rs
w
ve
t-
usually organised as columns. But this is not always the case!
ev
en
ni
R
ss
As
Pr
op
ie
my birthday.
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
137
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Questions
se
id
br
As
Look at this record about a country.
am
y
op
&
Country: Oman
-C
C
es
Size (in km2): 309 500
w
y
Pr
op
ie
Population: 4 576 298
ev
ity
C
Language: Arabic
R
rs
w
ie
ve
t-
Currency: Omani rial
ev
en
ni
R
m
1 What are the fields in the record?
ge
ss
2 What are the attributes of the record?
se
id
br
y
op
&
AllMusic.com is an online database that contains
-C
C
es
w
y
ie
on the type, artist or other individuals that were
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
Data types
R
m
ge
ss
As
or numbers.
y
op
&
-C
Pr
op
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
138
y
op
&
-C
C
es
R
rs
ve
t-
2.3 Creating a database
en
ni
U
m
ge
ss
Look at this table for some information about database data types.
se
id
br
Data type Description Example
As
am
y
Integer Whole numbers only 500
op
&
-C
C
Text Words only mustard
es
w
y
Pr
Character A single letter, number or symbol R
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
Question
m
ge
ss
se
id
y
op
&
a Country: Oman
-C
C
es
w
y
Pr
op
ie
c Population: 4 576 298
ev
ity
C
d Language: Arabic
R
rs
w
ve
t-
f Have you visited
ev
en
ni
this country? ✓
R
m
ge
ss
Formatting data
se
id
br
As
data appears in the way we want it to. For example, if the data type y
op
&
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
139
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
We can format our data as text, number, currency, date, time,
se
id
percentage or fraction. There are also lots of other categories
br
As
we can use!
am
y
For example, if you type ‘21’ into a cell that is categorised as the
op
&
-C
C
es
data to $21.
w
y
Pr
op
ie
Look at the table. It shows the common ways we categorise data
ev
ity
C
R
rs
w
ie
ve
t-
Data category How does the spreadsheet format the data?
ev
en
ni
m
the number has any decimal places.
ge
ss
Currency Data is automatically formatted as money, for example $3,
se
id
br
£3 or €3.
As
am
y
Date This puts the data into the format of a date,
op
&
-C
C
es
w
Time This puts the data into the format of a time,
y
Pr
op
ie
for example 07:36:00.
ev
ity
C
is headings or labels.
ie
ve
t-
ev
en
ni
Percentage This puts the data into a percentage format, for example
R
ss
Fraction This puts the data into a fraction format, for example
se
id
As
am
y
op
&
Pr
op
ie
the data unless you format the data yourself. For example,
ev
ity
-R
ve
en
formatting yourself.
m
ge
ss
se
id
br
As
am
140
y
op
&
-C
C
es
R
rs
ve
t-
2.3 Creating a database
en
ni
U
m
ge
ss
Practical task 1
se
id
br
As
am
You will need: a desktop computer, laptop or tablet and
y
op
&
source file 2.4_formatting_data
-C
C
es
You are going to practise formatting data so that a data type
w
y
Pr
op
is displayed correctly.
ie
ev
ity
C
R
rs
w
ve
t-
3 Open the menu as shown in the image below.
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
m
ge
ss
se
id
br
As
am
141
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Designing a database
se
id
br
As
When we want to design a database, first we
am
y
op
&
need to think carefully about the data that we
-C
s
want to collect. This helps us to identify the records,
C
es
fields and attributes that will make up the database.
w
y
Pr
op
ie
When designing a database, we need to think
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
• How many records will there be? How many
R
m
ge
ss
• How will the records and fields be arranged into rows and columns?
se
id
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
collect your ideas.
ev
ity
C
R
rs
w
Unplugged activity 1
ie
ve
t-
ev
en
ni
m
ge
ss
five records.
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
142
y
op
&
-C
C
es
R
rs
ve
t-
2.3 Creating a database
en
ni
U
m
ge
ss
Continued
se
id
br
Use the questions on the previous
As
am
page to help you. I think two
y
op
&
Write and sketch your ideas of the fields should be
-C
C
currency and language because
es
on a big piece of paper.
w
y
Pr
op
ie
know if you are visiting
ev
ity
C
a country!
R
rs
w
ie
ve
t-
ev
en
ni
R
m
Creating a database
ge
ss
se
id
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
Paper databases can be created very simply by making paper records.
ity
C
R
rs
w
ve
t-
the paper record below. It shows data for a character called Splashy.
ev
en
ni
R
m
ge
ss
As
C
es
Pr
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
143
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Activity 2
se
id
br
As
You will need: a desktop computer, laptop or tablet with access
am
y
to the internet, a pen and paper, Worksheet 2.6 and your
op
&
-C
C
es
w
y
Pr
op
ie
database to organise data about different
ev
ity
C
R
rs
w
ie
ve
Create a paper record for each holiday destination.
t-
Area: 309 500 km²
ev
en
Use your ideas from Unplugged activity 1 and the
ni
m
Language: Arabic
ge
ss
Use the internet to help you find information to add to
Flag:
se
id
As
Currency: Omani rial
Your record cards might look something like this:
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
For example, you can use:
ev
en
ni
R
ss
As
C
es
Pr
op
spreadsheet software.
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
144
y
op
&
-C
C
es
R
rs
ve
t-
2.3 Creating a database
en
ni
U
m
ge
ss
Practical task 2
se
id
br
As
am
You will need: a desktop computer, laptop or tablet, spreadsheet
y
op
&
software such as Excel or Google Sheets, your ideas from Unplugged
-C
C
activity 1, your paper database from Activity 2 or source file 2.5_countries
es
w
y
Pr
op
ie
You are now going to create a digital database. You can use the data
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
2 Create headings for each column of your database. The headings for
m
ge
ss
each column should match your field titles from Unplugged activity 1,
se
Activity 2 or source file 2.5_countries. For example:
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
en
ni
to ensure that all the data is displayed correctly (see Practical task 1).
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
145
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Searching a database
se
id
br
As
We already know that databases are made up of data
am
y
op
&
that is organised.
-C
C
Searching organised data in a database is much quicker and more
es
w
y
Pr
op
ie
separate record cards!
ev
ity
C
R
rs
w
One way is to apply a filter, which allows you to hide data that does
ie
ve
t-
ev
not meet your criteria, so the database only shows data you want to
en
ni
m
ge
ss
Another way is to search for data that matches a single keyword,
se
which you might have done previously.
id
br
As
One other way to search data is to use phrase searching.
am
y
This means searching for data that matches a series of words.
op
&
-C
For example, your school probably has a database about all the
C
es
w
y
Pr
op
ie
your parent or carer because you are unwell, they can do a phrase
ev
ity
C
search of the database, using your full name as the search criteria.
R
rs
A single keyword search (your first name) would not work here, as
w
ie
ve
t-
there might be more than one learner with the same first name as you.
ev
en
ni
The phrase search will bring up all records that match the criteria
R
(your full name). That record will include a contact number for
ge
ss
your family.
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
146
y
op
&
-C
C
es
R
rs
ve
t-
2.3 Creating a database
en
ni
U
m
ge
ss
Practical task 3
se
id
br
As
am
You will need: a desktop computer,
y
op
&
laptop or tablet, spreadsheet
-C
C
software such as Excel or Google
es
w
Sheets and source file
y
Pr
op
ie
2.6_countries_database
ev
ity
C
R
rs
You are now going to use phrase
w
ie
ve
t-
searching to find specific phrases
ev
en
ni
in a database.
R
m
1 Open source file
ge
ss
2.6_countries_database.
se
id
y
In Excel, this is found in the
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
3 Click ‘Find’. Type the phrase ‘Malayan tiger’ and press Enter.
ev
en
ni
R
4 The phrase you have searched for will be highlighted in the database.
U
m
ge
ss
se
id
br
As
am
147
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Continued
se
id
br
As
Use phrase searching to find the answers to these questions:
am
y
op
&
• Which country uses pound sterling as currency?
-C
C
• Which three countries have a lion as their national animal?
es
w
y
Pr
op
ie
• Which country has the federal eagle as their national animal?
ev
ity
C
R
rs
w
ie
ve
t-
ev
Question
en
ni
R
m
ge
ss
4 How do you search a database for a specific phrase?
se
id
br
As
Look what I can do!
am
y
op
&
I can design a single table database.
-C
C
es
w
y
Pr
op
ie
I can search for information in a database using a specific phrase.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
148
y
op
&
-C
C
es
R
rs
ve
t-
2.4 How is data used?
en
ni
U
m
ge
ss
2.4 How is data used?
se
id
br
As
am
y
We are going to:
op
&
-C
C
• explore how data can be used to solve problems
es
w
y
Pr
op
ie
ev
in healthcare, manufacturing and retail.
ity
C
R
rs
w
healthcare retail
ie
ve
t-
manufacturing trends
ev
en
ni
Getting started
R
m
ge
ss
What do you already know?
se
id
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
149
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Look at this database. It shows sales data for a café over one week.
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
per customer?
ev
en
ni
ss
4 What other useful data could the owner collect and how could
se
id
As
am
y
op
&
-C
w
y
Pr
op
ie
ve
en
ni
R
m
ge
ss
se
id
br
As
am
150
y
op
&
-C
C
es
R
rs
ve
t-
2.4 How is data used?
en
ni
U
m
ge
ss
For example:
se
id
br
Problem How data can help
As
am
y
Farmers can't harvest in the rain Farmers can look at weather trends to see
op
&
-C
because the crops are wet and when it is likely to rain so they know the
C
es
may go mouldy. best time to harvest crops.
w
y
Pr
op
ie
Supermarkets might run out of Supermarket owners could look at sales
ev
ity
C
popular products and customers trends to find out what the most popular
R
rs
w
ve
t-
make sure they stock the same items again.
ev
en
ni
R
A teacher has noticed that not The school could look at data showing
m
ge
ss
everyone is finishing their school which meals are eaten and which are
se
id
lunches, and some children left, so that they only provide meals that
br
As
are hungry. students enjoy.
am
y
op
&
-C
C
I wonder
Solving problems in retail,
es
w
y
ie
manufacturing and healthcare tell you about me and
ev
ity
C
how I am doing
R
rs
w
ve
t-
problems in retail, healthcare and manufacturing.
ev
en
ni
Retail means selling items, for example clothes, cars, food or games.
R
m
ge
ss
As
y
op
&
-C
w
y
Pr
op
ie
ve
en
ni
m
ge
ss
se
id
br
As
am
151
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
For example, the manager of a shop can look at the
se
id
monthly sales and see which products are selling well
br
As
and which are not. They might choose not to stock the
am
y
least popular items again, or to stock smaller amounts
op
&
of them. The price of items that have been in stock for
-C
C
a while but are not selling might be reduced.
es
w
y
Pr
op
ie
ev
ity
Question
C
R
rs
w
ie
ve
t-
1 Describe two ways that a shop could use data to
ev
en
ni
increase sales.
R
m
ge
ss
Activity 1
se
id
br
You will need: a desktop computer, laptop or tablet, word processing software,
As
am
y
op
&
-C
The owner of a car showroom is running out of space! He might need to reduce the
C
es
amount of cars he has by removing ones that do not sell well to make space for ones
w
y
Pr
op
ie
that do sell well. He has asked you to look at some sales data to help choose which
ev
ity
C
ones he removes.
R
rs
w
Look at the data in source file 2.7_cars_in_stock. It lists all the cars that the
ie
ve
t-
showroom has bought second-hand and how much each car has sold for.
ev
en
ni
R
The owner has asked you to investigate the data to see if there are any trends,
U
and to make any suggestions about what cars they should have in the showroom.
ge
ss
se
id
As
y
op
&
w
y
Pr
ie
-R
rs
w
• their questions
ie
ve
• your answers
t
ev
en
ni
R
ss
se
id
br
As
am
152
y
op
&
-C
C
es
R
rs
ve
t-
2.4 How is data used?
en
ni
U
m
ge
ss
Using data to solve problems in healthcare
se
id
br
As
Data can be used in healthcare to make improvements such as:
am
y
op
&
• identifying the most successful treatments for particular illnesses
-C
C
• diagnosing new types of illness
es
w
y
Pr
• reducing how long people have to wait for treatment
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
For example, data from medical trials can help scientists find out which
en
ni
R
m
Data about patients’ lifestyle and symptoms over time can help doctors
ge
ss
find patterns. When lots of people have similar symptoms but doctors do
se
id
not know what the illness is, recording data about the symptoms could
br
As
help medics find a new diagnosis, or identify a new illness.
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
153
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Unplugged activity 2
se
id
br
As
You will need: a pen and paper
am
y
op
&
Doctors have found a new disease, but they don't know which
-C
C
medicine is best to treat it. They have decided to use two types of
es
w
y
Pr
op
ie
A doctor assessed each patient before treatment and gave them a
ev
ity
C
R
rs
w
ie
ve
t-
Two months after treatment, patients had another assessment and
ev
en
ni
received another wellness score.
R
m
Look at the data with a partner.
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
Which treatment would you recommend the hospital uses to help treat
t
ev
en
the disease in the future? Write down any ideas you have.
ni
R
ss
se
id
br
As
am
154
y
op
&
-C
C
es
R
rs
ve
t-
2.4 How is data used?
en
ni
U
m
ge
ss
Using data to solve problems in manufacturing
se
id
br
As
Data can be used in manufacturing (making goods in a factory)
am
y
to solve problems such as:
op
&
-C
s
• products not being good quality or not lasting very long
C
es
w
y
• low sales
Pr
op
ie
• the number of accidents happening
ev
ity
C
R
rs
w
ie
ve
t-
For example, a manufacturing company
ev
en
ni
m
happen during the manufacturing process.
ge
ss
By analysing this data, they could find
se
id
y
op
&
Staff being off work also costs the business
-C
C
money because they have to pay sick pay and
es
w
y
ie
ev
ity
C
Activity 3
R
rs
w
ie
ve
t-
ev
m
ge
ss
As
y
op
&
Work in a group. Review the data. Decide how the factory owner could use
-C
this data to solve problems. Come up with at least three ways that the data
es
could be helpful.
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
155
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Continued
se
id
br
Present your findings as a digital presentation.
As
am
y
How am I doing?
op
&
-C
C
Work individually. Using a scale of 1 to 5, where 1 is the least confident and 5 is the
es
w
most confident, score yourself on these points:
y
Pr
op
ie
• I could identify ways the safety data could be used to solve problems.
ev
ity
C
R
• I could explain ways that the safety data could be used to solve problems.
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
How did you work as a team?
se
id
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
Unplugged activity 4
ev
ity
C
R
rs
w
ve
t-
ev
en
Pick one way in which data can be used to solve problems in either retail,
ni
R
manufacturing or healthcare.
m
ge
ss
Part A
se
id
As
am
used to solve problems within your chosen area. Note down your findings. y
op
&
-C
Part B
s
C
es
Use what you find out to create a paper leaflet explaining the advantages
w
y
Pr
op
ie
-R
rs
w
ie
ve
en
ni
R
ss
As
am
156
y
op
&
-C
C
es
R
rs
ve
t-
2.4 How is data used?
en
ni
U
m
ge
ss
Project
se
id
br
A local children’s clothes store has recently opened, and the owner has asked for
As
am
your help. She doesn’t know what to sell!
y
op
&
-C
She wants to know what kinds of clothes local children prefer, so she can sell them.
C
es
She particularly wants to know if there are any data trends in children of a certain
w
y
Pr
height or age. The owner has asked you to collect and analyse data about the
op
ie
preferences of people in your class.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
Work in a small group. You will need to consider the following things:
w
y
Pr
op
ie
• How could you use data to help the
ev
ity
C
R
rs
w
I wonder if
ie
t-
slightly older children
ev
en
ni
ss
As
I think the
w
a spreadsheet or database to
y
Pr
op
ie
ve
en
• What recommendations
ni
right height.
R
ss
As
am
157
y
op
&
-C
C
es
R
rs
ve
t-
2 Managing data
en
ni
U
m
ge
ss
Check your progress
se
id
br
1 What is a statistical investigation?
As
am
y
2 What is continuous data?
op
&
-C
s
3 What does a data logger do?
C
es
w
y
Pr
op
ie
using a form?
ev
ity
C
R
rs
w
ie
ve
t-
5 What operator do you use in a spreadsheet for division?
ev
en
ni
m
7 Will this formula work in a spreadsheet? How do you know?
ge
ss
se
id
SUM(A2:A5)
br
As
8 How can you select data to use in a spreadsheet formula?
am
y
Give two ways.
op
&
-C
C
9
es
w
y
ie
ev
11 Describe one way that analysing data can help in the healthcare industry.
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
158
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
Networks and
U
3
m
ge
ss
se
id
br
As
digital communication
am
y
op
&
-C
C
es
w
y
Pr
op
ie
3.1 Storing and transferring
ev
ity
C
R
rs
w
data on a network
ie
ve
t-
ev
en
ni
R
m
ge
ss
We are going to:
se
id
As
am
y
op
&
cellular networks
-C
C
es
w
y
Pr
op
ie
• explore what happens if there are too many devices connected to a network.
ev
ity
C
R
rs
w
ie
ve
t-
antivirus software packet
ev
en
ni
ss
intranet wi-fi
br
As
malware wireless
am
network overload y
op
&
-C
C
es
Getting started
y
Pr
op
ie
-R
ve
en
ni
ss
se
id
br
As
am
159
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
You have already learnt about the role of a server.
op
&
-C
C
es
which is a group of connected servers.
w
y
Pr
op
ie
With a partner, discuss the following:
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
Storing data on a server
se
id
br
As
Remember, a server is a networked device that ‘serves’ data to
am
y
op
&
other devices on the network. Other devices on the network can ask
-C
the server for data. Having a server means you don’t need to store
C
es
w
y
Pr
op
ie
• an email server holds all of your emails, meaning they
ev
ity
C
R
rs
w
ve
t-
ev
m
ge
ss
email
se
id
accounts
br
As
am
y
op
&
-C
streaming
Pr
op
ie
Data on
ev
ity
C
a server
-R
rs
w
ie
ve
t
ev
en
ni
R
documents messaging
ge
ss
services
se
id
br
As
am
160
y
op
&
-C
C
es
R
rs
ve
t-
3.1 Storing and transferring data on a network
en
ni
U
m
ge
ss
I’d like I’d like
se
id
my emails, to download this
br
As
please!
am song, please!
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
You can also save files to a server. These files
ev
ity
C
R
rs
w
ve
t-
For example, if you saved a document to
ev
en
ni
ss
As
am
y
op
&
Streaming services
-C
C
es
Pr
op
ie
ve
en
ni
internet connection. The file is not stored on the device that plays it.
R
ss
media takes up a lot of space. You might have learnt about storage
se
id
capacity previously.
br
As
am
161
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
Did you know?
se
id
Netflix users across the world spend around 164 million
br
As
hours per day watching videos! That is around 1 hour
am
y
op
&
11 minutes per registered user. Imagine how many
-C
s
hours it would be if we added up every streaming
C
es
service’s use time!
w
y
Pr
op
ie
ev
ity
C
R
rs
w
and other larger sizes. For example, a typical high definition (HD) film
ie
ve
t-
might use between two and four gigabytes of storage space,
ev
en
ni
m
ge
ss
Messaging services
se
id
br
As
am
y
op
&
This is known as direct messaging.
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
Sofia
s
C
es
Hey Arun.
w
y
Pr
ie
computing homework?
ev
ity
Sofia
C
Arun
-R
rs
Hey Arun.
w
ve
en
ni
R
m
ge
ss
se
id
br
As
am
162
y
op
&
-C
C
es
R
rs
ve
t-
3.1 Storing and transferring data on a network
en
ni
U
m
ge
ss
Large companies might also have a
se
id
dedicated specific server that allows
br
As
direct messaging between employees
am
y
or between customers and employees.
op
&
This is a quick way of communicating
-C
C
as people do not have to keep checking
es
w
y
their emails.
Pr
op
ie
ev
A private network that is only available
ity
C
R
rs
w
ve
t-
ev
en
ni
R
share messages.
U
m
ge
ss
se
id
Questions
br
As
am
y
1 Why might people use streaming services
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
Unplugged activity 1
rs
w
ie
ve
t-
ev
ss
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
163
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
Continued
se
id
Here is an example:
br
As
am
y
op
&
Classroom 1 Classroom 2 Classroom 3 Classroom 4
-C
s
Five laptops and a 25 tablets and a teacher’s A teacher’s A teacher’s
C
es
teacher’s computer. The computer. The tablets are computer computer
w
y
Pr
op
ie
the internet server and and the teacher’s computer is
ev
the document server. connected to an email server.
ity
C
R
rs
w
ie
ve
t-
ev
en
Servers
ni
R
m
website and learners’ work. There is
ge
ss
an email server for our school emails.
se
id
br
As
am
y
School reception Head teacher’s office Staff room
op
&
-C
C
a printer a printer a printer
es
w
y
Pr
op
ie
Consider the following:
ev
ity
C
• Do you have a school website? If so, you might need a web server
R
rs
w
ve
t-
ev
m
ge
ss
• How many rooms are in your school and how many devices in them
se
id
As
• What are the connections between the server and the devices?
am
For two of the rooms, explain why the devices are connected to
C
es
Pr
op
ie
Don’t forget, your map can cover your whole school, so think about all the
ev
ity
C
rooms in your school, including any offices, the canteen and the library.
-R
rs
w
ve
en
ni
R
m
ge
ss
se
id
br
As
am
164
y
op
&
-C
C
es
R
rs
ve
t-
3.1 Storing and transferring data on a network
en
ni
U
m
ge
ss
Transferring data
se
id
br
As
We can send data between devices using two different kinds
am
y
op
&
of connection: wireless (without using wires) or wired.
-C
C
Data can be transferred using wires via Ethernet cables like
es
w
y
this one. You may have one connecting your router to a device
Pr
op
ie
in your home network.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
Data can also be sent wirelessly. One way that data can be sent
es
w
y
ie
can be used to send data such as text or sounds from one place to
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
165
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
Cellular networks
se
id
br
As
A cellular network is a massive network of communication towers
am
y
that cover almost the whole world. A mobile phone works by
op
&
-C
C
es
w
y
Pr
op
ie
Did you know?
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
When there is no internet connection available, a mobile
ge
ss
phone will connect to the nearest cell tower and use this
se
id
As
Imagine you have gone out of the house and taken your
am
y
digital device with you. When you use a digital device like
op
&
-C
C
es
w
y
Pr
ie
ev
receive messages and emails, browse the internet, stream
ity
C
ve
t-
Phones can also use a combination of cellular internet
ev
en
ni
ss
y
op
&
-C
Wi-fi
s
C
es
w
y
Pr
op
ie
ve
en
ni
the home sends and receives data to the router either using an
m
ge
ss
As
am
166
y
op
&
-C
C
es
R
rs
ve
t-
3.1 Storing and transferring data on a network
en
ni
U
m
ge
ss
When data is sent over a computer network, it is
se
id
not sent as a whole file. Instead, the data is split
br
As
up into pieces, each known as a packet, and then
am
y
sent. If someone wanted to stop the data from
op
&
reaching its destination, they could steal some of the
-C
C
packets. If the packets do not have any encryption
es
w
y
Pr
op
ie
back together. If the data packets have encryption on
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
Unplugged activity 2
se
id
br
As
You will need: a pen and paper
am
y
op
&
Work with a partner to list as many digital
-C
C
es
w
y
Pr
op
ie
ev
listed can transfer data.
ity
C
R
rs
w
ve
t-
following questions:
ev
en
ni
m
ge
As
am
How am I doing? y
op
&
-C
Using smiley faces, where a sad face is not very confident, a neutral
s
C
es
Pr
op
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
167
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
The effect of bandwidth on a network
se
id
br
As
Bandwidth is the maximum amount of data that can be transmitted
am
y
op
&
between two points in a network in a specific amount of time.
-C
C
The smaller your bandwidth is, the longer it takes to download
es
w
y
a file from the internet or for a video to load so you can stream it.
Pr
op
ie
The larger your bandwidth is, the quicker the network performs.
ev
ity
C
R
rs
w
ie
ve
t-
I have great
ev
en
ni
bandwidth, so it only
R
m
takes a few seconds to
ge
ss
download files!
se
id
br
As You are
am
y
lucky!
op
&
-C
C
es
w
y
Pr
op
ie
Bandwidth is a bit like a straw. If you have a narrow straw, you won’t be
ev
ity
C
able to drink as quickly as you would with a really wide straw. It would
R
rs
w
take someone with a wide straw a lot less time to drink the same amount
ie
ve
t-
as someone with the thin straw!
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
168
y
op
&
-C
C
es
R
rs
ve
t-
3.1 Storing and transferring data on a network
en
ni
U
m
ge
ss
Activity 3
se
id
br
As
You will need: a desktop computer, laptop or tablet with access
am
y
to the internet and source file 3.1_speed_test_website
op
&
-C
C
es
Have you ever noticed that when you are using a digital device it seems
w
y
to take a long time to open a web page? You can check what your
Pr
op
ie
current network speed is using certain websites.
ev
ity
C
Go to the website your teacher will show you to find out the speed of
R
rs
w
ie
t-
ev
en
ni
When you have the results, share them with your teacher.
R
m
With a partner, consider the following discussion points:
ge
ss
• Do you think the speed will change if you do the test at a different
se
id
br
time of day?
As
am
y
• Do you think the speed will change if you do the test on a different device?
op
&
-C
C
es
w
y
ie
can also affect the speed of data transfer.
ev
ity
C
R
rs
w
ve
t-
may still be slow.
ev
en
ni
ss
se
id
w
y
ie
ve
en
ni
ss
As
am
169
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
Even browsing the internet, which does not require a lot of bandwidth,
se
id
can affect speed if there are lots of devices doing it. This will not
br
As
just include digital devices, such as a mobile phone, but other
am
y
internet-enabled devices such as a smart TV, smart lights, smart plugs,
op
&
or other smart devices. Too many devices can lead to network overload.
-C
C
es
Network overload happens when too many devices try to access
w
y
Pr
data at the same time. When a network is overloaded, the network
op
ie
ev
stops working properly: data moves extremely slowly, pictures can
ity
C
get stuck when they are loading and error messages might appear.
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
103%
As
am
y
op
&
Streaming Three smart bulbs: Downloading Smart Online Network
-C
C
es
w
y
bandwidth
Pr
op
ie
ev
ity
C
If the person watching the movie on this network stopped, then they
R
rs
w
ve
t-
be slow. They could also turn off the smart fridge, but their food
ev
en
ni
might go rotten!
R
m
ge
ss
se
id
78%
br
As
am
y
op
&
8% of the bandwidth lots of photos: 20% fridge: 10% games: 40% can cope
s
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
170
y
op
&
-C
C
es
R
rs
ve
t-
3.1 Storing and transferring data on a network
en
ni
U
m
ge
ss
Three devices
se
id
br
streaming a movie might overload
As
am
a network, but 40 lightbulbs and
y
op
&
two laptops checking emails
-C
C
could do too!
es
w
y
Pr
op
Why?
ie
ev
ity
C
Because 40
R
rs
w
ve
t-
ev
much bandwidth as
en
ni
R
three movies!
m
ge
ss
se
id
the pie has to feed, the smaller your slice will be.
As
am
y
The more people using bandwidth, the smaller each
op
&
-C
C
es
w
y
Pr
op
ie
Or you could think of bandwidth as a road. The more
ev
ity
C
R
rs
w
ve
t-
problem with the road – there are just lots of cars!
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
171
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
Activity 4
se
id
br
As
You will need: a desktop computer, laptop or tablet with access to the
am
y
internet, a pen and paper
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
the internet in a home. Think about kitchen and bathroom appliances
ev
ity
R
rs
w
ve
t-
ev
Discuss with your partner which devices are the most important.
en
ni
R
The most important devices need to be able to connect to the wi-fi over
m
ge
ss
As
Would your list change based on the day of the week? For example,
am
C
es
w
y
Pr
Stay safe!
op
ie
ev
ity
C
harm a computer system), it can use up a great deal of your bandwidth without you
w
ie
ve
realising. It is always a good idea to use antivirus software (software that identifies,
t
ev
en
ni
removes and prevents malware) on a regular basis to check for any malware that
R
might have been installed on your devices, and to keep the antivirus software up
m
ge
ss
to date.
se
id
br
As
am
172
y
op
&
-C
C
es
R
rs
ve
t-
3.1 Storing and transferring data on a network
en
ni
U
m
ge
ss
Questions
se
id
br
As
3 Explain what bandwidth is.
am
y
4 Explain what causes network overload.
op
&
-C
s
5 What steps could you take to prevent a network overload?
C
es
w
y
Pr
op
ie
Activity 5
ev
ity
C
R
rs
w
ve
t-
tablet with word processing software
ev
en
ni
R
m
Your neighbours have asked you to help with
ge
ss
a network problem. They are a family of four
se
id
As
their house, especially in the evening and at
am
y
the weekend.
op
&
-C
C
es
w
y
Pr
op
ie
ev
27 smart plugs. They also have a
ity
C
ve
t-
ev
ss
As
am
I can describe the different digital content that a server can store.
es
w
y
ie
ev
-R
rs
w
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
173
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
3.2 Securing data
se
id
br
As
am
y
We are going to:
op
&
-C
C
• explore why it is important to keep data secure when it is sent
es
w
y
Pr
op
ie
ev
• explore how a user’s identity can be confirmed
ity
C
R
rs
w
• discuss the range of methods that can be used for user authentication.
ie
ve
t-
ev
en
ni
R
m
ge
ss
authentication secure
se
id
As
hack transmission
am
y
password username
op
&
phishing
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
Getting started
op
ie
ev
ity
C
ve
t
ev
en
ss
se
id
br
As
am
174
y
op
&
-C
C
es
R
rs
ve
t-
3.2 Securing data
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Decode the following message: Julius Caesar
op
&
-C
s
Mywzedsxq sc wi
C
es
pkfyebsdo celtomd. so his military plans could
w
y
Pr
op
not be read by
ie
Use the Caesar cipher, which is
ev
the enemy.
ity
C
given below.
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
Alphabet A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
se
id
+10 shift Q R S T U V W X Y Z A B C D E F G H I J K L M N O P
br
As
am
y
Discuss with a partner why keeping data secure is important.
op
&
-C
C
Feed back your reasons to the rest of the class.
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
Every day, trillions of packets of data are sent over the internet.
R
ss
As
y
op
&
C
es
Pr
op
these packets are lost or stolen, someone who should not be allowed
ie
ve
to read the data could see it. These people might then use that data
t
ev
en
ni
m
ge
ss
se
id
br
As
am
175
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
Data that has been stolen can be used for a range of purposes:
se
id
• fraud (where someone tries to trick others, usually to
br
As
gain money)
am
y
op
&
• identify theft (where someone uses your personal
-C
C
information to pretend to be you)
es
w
y
Pr
op
ie
revealing personal data such as account details)
ev
ity
C
R
rs
w
ie
t-
ev
en
ni
R
m
Did you know?
ge
ss
Around 333.2 billion emails are sent each day.
se
id
y
Over 85% of all sent emails are spam (junk mail) or
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
Activity 1
ie
ve
t-
ev
en
ni
ss
Work in a group of four. Discuss what stolen data can be used for.
se
id
br
C
es
Pr
op
ie
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
176
y
op
&
-C
C
es
R
rs
ve
t-
3.2 Securing data
en
ni
U
m
ge
ss
se
id
What challenges did you and your group have?
br
As
am
How did you overcome the challenges?
y
op
&
What new skills did you learn?
-C
C
es
w
y
Pr
op
ie
ev
ity
C
User authentication
R
rs
w
ie
ve
t-
There is a range of ways to protect user data.
ev
en
ni
The most common way is to make sure only the user that the data
R
m
belongs to can access it. This can be done through user authentication,
ge
ss
which means checking that the user is who they say they are.
se
id
As
am
y
Username and passwords
op
&
-C
C
es
w
y
ie
know both before they can get access. A username
ev
ity
C
R
rs
w
ve
t-
and characters that you set, like a special code you
ev
en
ni
m
ge
to) your accounts. Passwords are easy to guess if people use numbers
As
am
meaning for them, such as their own name, a pet’s name or their
-C
Pr
op
ie
Even though security has improved and it is not good practice any
-R
rs
w
more, many organisations may ask that your password also contains:
ie
ve
• a combination of letters,
t
ev
en
ni
as passwordmonster.com
ge
good a password
br
As
might be.
am
177
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
Unplugged activity 2
se
id
br
As
You will need: a pen and paper
am
y
op
&
Arun was born in 2014 and has a cat named Pancake.
-C
C
Arun’s favourite colour is purple.
es
w
y
Pr
Below is a list of passwords that Arun likes to use:
op
ie
ev
ity
C
• Pomegranate23
R
rs
w
• Arun123
ie
ve
t-
ev
• Arunspassword
en
ni
R
m
• Arun2014
ge
ss
• hoTel@23
se
id
• purple123
br
As
am
y
• Pancake1
op
&
-C
• jewelpowdergenerous
s
C
es
• chocolateflowerzoologist
w
y
Pr
op
ie
1 Decide whether each password is strong or weak on
ev
ity
C
R
rs
w
ve
t-
ev
m
ge
ss
se
id
Fingerprints
br
As
am
a fingerprint scanner.
s
C
es
Pr
op
ie
checks for the unique pattern of ridges on the fingerprint. The scanner
ev
ity
-R
stored in the device. If the two fingerprints match, the digital device is
rs
w
ie
ve
unlocked. If the two fingerprints do not match, the device stays locked.
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
178
y
op
&
-C
C
es
R
rs
ve
t-
3.2 Securing data
en
ni
U
m
ge
ss
se
id
= =
br
MATCH NO MATCH
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
have the same fingerprint. It is very difficult to hack this type
ev
en
ni
of authentication.
R
m
ge
ss
Did you know?
se
id
As
am
y
op
&
each fingerprint unique. Even identical twins have different
-C
C
fingerprints. However, there are some rare genetic conditions
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
Unplugged activity 3
ie
ve
t-
ev
en
ni
m
ge
Cover your thumb with a thick layer of paint or ink and print it onto paper.
ss
As
With a partner, look at their thumbprint. What do you notice is the same?
s
C
es
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
179
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
Facial recognition
se
id
br
As
Facial recognition is where a camera or scanner
am
y
takes a 2D or 3D image of a person’s face.
op
&
-C
C
es
the facial image must match a stored image before
w
y
Pr
access to the data is allowed. You or your parents
op
ie
might use facial recognition to unlock your phones.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
Activity 4
R
m
ge
You will need: a desktop computer, laptop or tablet with access to the
ss
internet and software suitable for making a leaflet (word processor
se
id
br
y
op
&
We have looked at a range of different ways of protecting your data.
-C
C
You are going to create a leaflet explaining:
es
w
y
Pr
ie
ev
ity
C
R
rs
w
ve
t-
ev
ss
As
Stay safe!
am
y
Questions
op
&
ve
password stops people from accessing your data class, you shouldn’t talk
t
ev
en
ni
ss
As
am
180
y
op
&
-C
C
es
R
rs
ve
t-
3.2 Securing data
en
ni
U
m
ge
ss
Activity 5
se
id
br
As
You will need: a desktop computer, laptop or tablet with presentation software
am
y
op
&
Create a presentation for a parents’ evening
-C
C
es
that explains why it is important to protect
w
y
your data.
Pr
op
ie
ev
Your presentation should include:
ity
C
R
rs
w
ve
t-
• the different ways you can protect
ev
en
ni
your data
R
m
ge
ss
additional information.
se
id
br
As
am
y
op
&
-C
C
Activity 6
es
w
y
Pr
op
ie
You will need: a desktop computer, laptop or tablet with internet access
ev
ity
C
R
rs
w
Data theft is often in the news, for example when a business has its data
ie
ve
t-
ev
ss
As
am
C
es
w
y
Pr
op
ie
ve
t
ev
en
ni
m
ge
ss
se
id
br
As
am
181
y
op
&
-C
C
es
R
rs
ve
t-
3 Networks and digital communication
en
ni
U
m
ge
ss
Project
se
id
br
As
Planning a network
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
Your school is thinking of setting up a school shop in town so that parents or carers
R
can buy all the equipment learners need for school throughout the year.
ge
ss
se
id
As
• The shop manager needs a laptop computer which can connect to the internet
am
wirelessly. The laptop will hold information about sales that must be kept secure
y
op
&
-C
as the manager will sometimes be away from their laptop. The laptop should
s
C
es
allow the manager to message the school quickly if there are any queries from
w
y
Pr
parents or carers.
op
ie
ev
ity
C
• The shop needs to have tablets for parents or carers to create online accounts
-R
rs
so they can purchase items on display. They will need to enter personal
w
ie
ve
details and they may wish to walk around the shop with the tablets.
t
ev
en
ni
• Parents can also log into existing accounts using their own devices.
R
m
ge
ss
se
id
br
As
am
182
y
op
&
-C
C
es
R
rs
ve
t-
3.2 Securing data
en
ni
U
m
ge
ss
Continued
se
id
br
Create a report explaining what needs to be considered when setting
As
am
up the computer network for the school shop.
y
op
&
You need to include:
-C
C
es
• Information about the different devices needed in the shop
w
y
Pr
op
ie
ev
ity
C
R
rs
w
bandwidth for when devices are being used by parents in the shop?
ie
ve
t-
• Suggestions about how the data can be kept secure, exploring
ev
en
ni
m
ge
ss
se
id
As
am
y
1 Give one reason why data needs to be kept secure.
op
&
-C
C
es
w
y
ie
no personal information?
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
ss
on a server.
br
As
am
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
183
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
Computer systems
U
4
m
ge
ss
se
id
br
As
am
4.1 Selecting hardware
y
op
&
-C
C
es
and software
w
y
Pr
op
ie
ev
ity
C
R
rs
We are going to:
w
ie
ve
t-
• identify hardware and software components in computer systems
ev
en
ni
R
• discuss the key factors we consider when choosing hardware and software
m
ge
ss
• select suitable components for a computer system based on the
se
id
As
am
aesthetics functionality
y
op
&
component hardware
-C
C
cost longevity
es
w
y
Pr
op
ie
freeware upgrade
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
Getting started
es
w
y
Pr
op
ve
t
ev
en
ni
ss
se
id
br
As
am
184
y
op
&
-C
C
es
R
rs
ve
t-
4.1 Selecting hardware and software
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Make a list of all of the digital
op
&
-C
C
es
last week. Are there any other
w
y
Pr
digital devices that you have seen
op
ie
(for example, a teacher’s laptop)?
ev
ity
C
R
rs
w
ie
ve
t-
Look at your list of devices.
ev
en
Which device:
ni
R
m
• works the quickest?
ge
ss
• looks the best?
se
id
br
As
• costs the most?
am
y
op
&
• is the one you use the most?
-C
C
es
w
y
Pr
op
ie
ev
ity
C
ve
t-
Every computer uses software and hardware.
ev
en
ni
R
ss
As
Software usually
am
has to be installed on
-C
• spreadsheet software
s
Pr
op
ie
ve
en
ni
m
ge
ss
se
id
br
As
am
185
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Did you know?
se
id
The software that runs on a mobile phone can have over
br
As
10 million lines of code!
am
y
op
&
-C
C
es
Some software can be very simple, like the program on a
w
y
Pr
microwave oven or a simple calendar on a mobile device.
op
ie
Some software can be very complex, such as a game or word
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
a digital device. A keyboard,
se
a mouse, a hard drive and a
id
Hardware
br
examples of hardware.
y
physical. This means you
op
&
-C
C
es
w
y
Pr
ie
ev
ity
C
R
rs
w
Components of a computer
ie
ve
t-
ev
en
ni
ss
As
y
op
&
Pr
op
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
186
y
op
&
-C
C
es
R
rs
ve
t-
4.1 Selecting hardware and software
en
ni
U
m
ge
ss
Component What it looks like Function
se
id
Graphics card Enables the computer to display
br
As
pictures and images on the
am
y
op
&
screen – the higher the quality of
-C
s
the graphics card, the more detail
C
es
can be shown
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
create objects
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
performs calculations
s
C
es
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
187
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Component What it looks like Function
se
id
Hard drive Stores data like programs and files
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
the computer
ev
en
ni
R
m
ge
ss
se
id
As
am
components together
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
ss
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
188
y
op
&
-C
C
es
R
rs
ve
t-
4.1 Selecting hardware and software
en
ni
U
m
ge
ss
Software components allow the computer to carry out tasks that we want it to
se
id
do. For example, word processing software allows us to type letters and other
br
As
documents. Presentation software allows us to make presentations and slideshows.
am
y
op
&
Activity 1
-C
C
es
w
y
You will need: a desktop computer, laptop or tablet with access to the internet
Pr
op
ie
and presentation software such as PowerPoint or Google Docs
ev
ity
C
R
rs
w
ve
t-
‘How a computer works’.
ev
en
ni
m
ge
ss
se
id
• power supply •
As
case
am
y
op
&
• touch screen • graphics card.
-C
C
es
w
y
Pr
op
ie
1 Write a sentence or short paragraph about what each piece of
ev
ity
hardware does. You may need the internet to help you find out
C
R
about some of the hardware.
rs
w
ie
ve
t-
2 Use the internet to find a picture of each piece of hardware and
ev
en
ni
3 Use the internet to search for the highest price you might pay for
ge
ss
How am I doing?
As
am
Are there any differences between your presentation and your partner pair’s
C
es
Pr
op
ie
-R
rs
w
Question
ie
ve
t
ev
en
ni
R
1 Laptops, mobile gaming devices and mobile phones all have similar
m
ss
mobile phone, compared to a desktop PC? Why do you think this is?
se
id
br
As
am
189
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Selecting components
se
id
br
As
When you choose software and hardware components for a computer,
am
y
op
&
you need to consider a number of things, such as what it can do,
-C
s
how it looks, and how much it costs.
C
es
w
y
Pr
op
ie
Functionality
ev
ity
C
R
rs
w
ve
t-
For example, an oven that can roast and grill and has two cooking
ev
en
ni
m
roast has low functionality.
ge
ss
A computer that can complete a range of tasks has high functionality.
se
id
br
y
You can change the functionality of a computer by adding or
op
&
-C
removing components.
s
C
es
w
y
Pr
op
ie
Aesthetics
ev
ity
C
R
rs
w
ve
t-
look. For example, some people might like their bedrooms to
ev
en
ni
ss
of their computer. y
op
&
-C
C
es
Pr
op
ie
or black
ev
ity
C
ve
en
ni
R
m
ge
ss
se
id
br
As
am
190
y
op
&
-C
C
es
R
rs
ve
t-
4.1 Selecting hardware and software
en
ni
U
m
ge
ss
Some computers have bright, colourful and attractive components.
se
id
For example, some keyboards light up in different colours.
br
As
The keyboard with lights does the same tasks as a simple black
am
y
keyboard, but the keyboard with lights allows you to change the
op
&
colour of the keyboard so it matches the colour of your bedroom walls!
-C
C
es
w
y
Pr
op
ie
Speed
ev
ity
C
R
rs
w
ve
t-
The different components in a computer affect how quickly a
ev
en
ni
computer runs.
R
m
• Processor
ge
ss
Computer processors have different processing speeds. A faster
se
id
As
than a slower processor. A normal computer for general use, such
am
y
op
&
as in a school or in an office, does not need a really fast processor.
-C
C
•
es
RAM
w
y
Pr
ie
ev
being used by the computer. If you have more RAM, your computer
ity
C
can do more tasks at the same time. People who want to use
R
rs
w
their computer for running very large programs or who use many
ie
ve
t-
ev
• Storage
ge
ss
Storage can come in many sizes, types and speeds. People who
se
id
work with very large files, like films and pictures, need much
br
As
more storage.
am
y
op
&
-C
Longevity
es
w
y
Pr
op
ie
pair of shoes that lasts for three years before wearing out has greater
-R
rs
w
ve
t
ev
m
ge
ss
se
id
br
As
am
191
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
We can upgrade software on a computer quite easily. Upgrade means
se
id
to improve something or replace it with a better version. Upgrading
br
As
software often helps to make a computer useful for longer.
am
y
Hardware is more difficult to upgrade. You often need to buy new
op
&
-C
C
es
You will usually pay more for a computer with higher longevity.
w
y
Pr
op
ie
Components in a computer that last longer will be made of
ev
ity
C
R
rs
w
ie
ve
t-
ev
Cost
en
ni
R
m
The total cost of a computer depends on how much each
ge
ss
component costs.
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
Development
ev
needs development software.
ity
C
software is used to
R
This software would not normally be
rs
w
create programs.
ie
ve
en
ni
ss
If so, you will spend more money. Can you just use free software?
br
As
y
op
&
Pr
op
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
192
y
op
&
-C
C
es
R
rs
ve
t-
4.1 Selecting hardware and software
en
ni
U
m
ge
ss
For example:
se
id
• Expensive software may provide contact details for help and
br
As
assistance if anything goes wrong with the software.
am
y
op
&
• Expensive software may be able to receive updates to improve the
-C
C
software so it lasts longer, which means it has more longevity.
es
w
y
Pr
op
ie
One is freeware and one is software you have to pay for.
ev
ity
C
R
rs
w
ie
ve
t-
Microsoft Paint Adobe Photoshop
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
software for editing photos and photos. It has a much wider range of
ev
en
ni
ss
As
am
y
op
&
Questions
-C
C
es
Pr
op
ie
Adobe Photoshop?
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
193
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Unplugged activity 2
se
id
br
As
You will need: a pen, paper and Resource sheet 4.2
am
y
op
&
Avast! is an example of antivirus software. There is a paid-for version
-C
C
and a free version.
es
w
y
Pr
Your teacher will give you a resource sheet which shows the features
op
ie
of the two versions of Avast!
ev
ity
C
R
rs
Work with a partner. Discuss the differences between each version
w
ie
ve
t-
and write down your ideas.
ev
en
ni
Imagine that you want to use this antivirus program on your computer.
R
m
Answer these questions individually:
ge
ss
• Would you pay money for it or would you just get the free version?
se
id
br
y
Compare your answers with your partner’s. Do you agree?
op
&
-C
Discuss with your partner why you think companies give free versions
C
es
of their software.
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
How did you decide which version of the software
ev
en
ni
m
ge
ss
se
id
br
As
y
op
&
As with many things in life, the faster you want a task done, the more
-C
money it costs. For example, when you post a parcel, you can often
es
w
y
ie
-R
rs
ve
more quickly, but faster processors cost more money because they
t
ev
en
ni
m
ge
ss
se
id
br
As
am
194
y
op
&
-C
C
es
R
rs
ve
t-
4.1 Selecting hardware and software
en
ni
U
m
ge
ss
• More RAM makes a computer faster, but extra RAM costs money
se
id
to buy.
br
As
• Faster storage devices will allow a computer to run faster, but they
am
y
cost more than slower storage devices.
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
Pr
op
ie
-R
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
195
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Cost and aesthetics
se
id
br
Devices that are more attractive to customers often cost more money
As
am
to buy. For example, brightly coloured mobile phones, or computers
y
op
&
with beautiful designs on them are usually more expensive than plain
-C
C
devices that are grey or black.
es
w
y
Pr
op
ie
on a device with the aesthetics that they like.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
ss
As
before it breaks.
This is bad for the environment and
-C
Pr
op
-R
a computer component.
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
196
y
op
&
-C
C
es
R
rs
ve
t-
4.1 Selecting hardware and software
en
ni
U
m
ge
ss
Sometimes it is better to spend more money on a computer or digital
se
id
device because it has high-quality components and so it will
br
As
last longer. This means you won’t need to upgrade it as soon.
am
y
This can help save money in the future.
op
&
-C
C
es
Did you know?
w
y
Pr
op
ie
It is estimated that we throw away
ev
ity
C
R
rs
w
ve
t-
thrown away every second!
ev
en
ni
R
m
ge
ss
her new computer. Look at the table.
se
id
br
y
op
&
Medium $150 3 years $50 ✗
-C
C
es
w
y
Pr
op
ie
ev
ity
The medium processor costs $50 less. However, the fast processor
C
R
will last for five years.
rs
w
ie
ve
t-
Which one should Sofia buy?
ev
en
ni
Because the faster processor will last longer, it will cost less money
R
over time. So if Sofia can afford the faster processor, it is the better
ge
ss
one to buy.
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
197
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Fit for purpose
se
id
br
As
Would you drive to school
am
y
in a tractor?
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
Would you use a wheelbarrow
am
y
to take your books into school?
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
something that is not fit for purpose. If something is fit for purpose,
ge
ss
As
am
198
y
op
&
-C
C
es
R
rs
ve
t-
4.1 Selecting hardware and software
en
ni
U
m
ge
ss
When we buy software or hardware, we need to think carefully about
se
id
whether it is fit for purpose.
br
As
Many computers and digital devices are designed to be ‘general
am
y
purpose’. This means that they will do most things for most people.
op
&
-C
C
es
Some computers need different hardware and software so they
w
y
Pr
op
ie
are fit for purpose for an individual.
ev
ity
C
R
rs
w
ie
t-
ev
en
ni
R
m
for gaming. Each of these people have different needs and requirements,
ge
ss
and each of these people need a computer that is fit for purpose.
se
id
br
As
am
Unplugged activity 3
y
op
&
-C
C
es
w
y
Pr
op
ie
Part A
ev
ity
C
R
rs
w
ve
t-
Look at the table. It shows the type of device each person is thinking of buying.
ev
en
ni
Each part of the device is rated as high, medium or low. High means that it is
R
expensive and good quality. Low means that it is cheap and low quality.
ge
ss
se
id
As
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
As
am
199
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Continued
se
id
Discuss the following questions in your group.
br
As
am
y
• Is the chosen device suitable for each person?
op
&
-C
C
es
• What makes you think it isn’t? Why or why not?
w
y
Pr
op
ie
• What changes would you make to the device to make it fit for purpose? Why?
ev
ity
C
Part B
R
rs
w
ie
ve
Think about what you use a computer for. Use the headings in the table to
t-
ev
en
write down the sort of computer you would need. Share your answers with
ni
R
the other members of your group. Discuss what each person has written and
m
ask them to explain their decisions.
ge
ss
se
id
br
Unplugged activity 4
As
am
y
op
&
Work with a partner.
-C
C
es
Ask them to imagine that they are buying a computer for a member of your
w
y
Pr
family. Tell your partner what your family member wants the computer for.
op
ie
ev
ity
R
Does your partner agree with your explanation?
rs
w
ie
ve
t-
2 Ask your partner to:
ev
en
ni
b use a low, medium and high rating when talking about the processor,
ge
ss
As
am
Give your partner feedback on how you think they did. Now swap roles y
op
&
C
es
w
y
Pr
op
ie
ve
en
ss
As
am
200
y
op
&
-C
C
es
R
rs
ve
t-
4.2 Programming environments
en
ni
U
m
ge
ss
4.2 Programming environments
se
id
br
As
am
y
We are going to:
op
&
-C
C
• understand the difference between text-based and block-based
es
w
y
programming languages
Pr
op
ie
ev
• identify when text-based and block-based programming languages
ity
C
should be used.
R
rs
w
ie
ve
t-
ev
en
ni
R
m
block-based programming language
ge
ss
programming environment
se
id
programming language
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
Getting started
w
y
Pr
op
ie
ve
en
a computer.
ni
R
ss
se
id
br
As
am
201
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
What do you think are the differences between a block-based programming
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
Write down your ideas on some paper. Think about the following questions
w
y
Pr
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
ss
se
id
br
As
am
y
Programming languages
op
&
-C
C
es
Pr
op
-R
rs
w
ve
en
ni
tools that are used to write and test computer programs. One tool is an
R
editor that allows us to type the commands we want for our program.
ge
ss
As
am
202
y
op
&
-C
C
es
R
rs
ve
t-
4.2 Programming environments
en
ni
U
m
ge
ss
Different programming languages are designed for different jobs.
se
id
Some languages are better for producing computer games.
br
As
Other languages are much better for writing pieces of software, like
am
y
word processing or spreadsheet software. There are some programming
op
&
languages that exist only for doing maths calculations. Some special
-C
C
programming languages have been created just to make web pages.
es
w
y
Pr
When you learn to program, you learn about different techniques and
op
ie
ev
ways to write code. Each technique does something different.
ity
C
R
rs
w
ve
t-
but you might write them in different ways in different languages.
ev
en
ni
m
in many different languages – you just need to learn how to say
ge
ss
it in the language you want to use.
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
Did you know?
ev
en
ni
R
ss
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
203
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Block-based programming languages
se
id
br
As
Block-based programming languages allow the user to drag and
am
y
drop coloured blocks of code into a code window using a mouse.
op
&
-C
C
es
The most well-known block-based programming language is Scratch.
w
y
Pr
op
ie
You probably used Scratch in Unit 1.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
As
colour. For example, all the blocks that allow you to move a sprite
am
w
y
ie
make it easier to find the right block and make the language look more
-R
rs
w
ve
t
ev
how to program.
R
m
ge
ss
se
id
br
As
am
204
y
op
&
-C
C
es
R
rs
ve
t-
4.2 Programming environments
en
ni
U
m
ge
ss
Block-based languages allow users to create games and animations
se
id
quickly. For example, you can create a simple game where you
br
As
have to fly a rocket through space, avoiding asteroids.
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
Some block-based languages allow to you make music or control
-C
C
small robots. However, they are not suitable for making larger and
es
w
more complicated games. They are also not suitable for designing
y
Pr
op
ie
professional software such as word processing software.
ev
ity
C
R
rs
w
Activity 1
ie
ve
t-
ev
en
ni
You will need: a desktop computer, laptop or tablet with access to the internet
R
m
ge
ss
‘Ideas’ page. Pick the ‘Getting Started’ tutorial and try using Scratch to make
br
As
a short program. Your program should display ten numbers on the screen.
am
y
op
&
C
es
Share your program with a partner. What differences are there between
w
y
Pr
op
your program and theirs? Do they both work in the same way?
ie
ev
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
205
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Text-based programming languages
se
id
br
As
Text-based programming languages
am
y
use text commands typed on a
op
&
-C
C
es
be typed into a file before it can
w
y
Pr
be run. This is very different to the
op
ie
‘drag and drop’ method of
ev
ity
C
block-based languages.
R
rs
w
ie
ve
t-
Text-based languages can be a lot
ev
en
ni
harder to learn. This is because you
R
m
ge
ss
for each command. You need to
se
remember what the commands do
id
br
y
op
&
the program will not work.
-C
C
es
w
y
Pr
ie
programming. It takes a lot longer to do this using a text-based
ev
ity
C
programming language.
R
rs
w
ie
ve
t-
There are advantages of text-based programming languages though.
ev
en
ss
As
am
C
es
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
206
y
op
&
-C
C
es
R
rs
ve
t-
4.2 Programming environments
en
ni
U
m
ge
ss
Activity 2
se
id
br
As
You will need: a desktop computer, laptop or tablet with access to the internet
am
y
and desktop publishing software
op
&
-C
C
es
Use the internet to find out about the text-based programming language C#
w
y
Pr
op
ie
ev
Create a poster to share what you find out about C#.
ity
C
R
rs
w
ve
t-
• When was it invented?
ev
en
ni
R
m
ge
ss
• What sort of software could you create with it? (Add some pictures
se
id
•
As
How popular is the language? (How many people use it?)
am
y
op
&
-C
C
es
w
Share your poster with your classmates. Look at the posters they have made.
y
Pr
op
ie
Find one more fact about the language that you could add to your poster.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
m
ge
ss
As
Pr
op
ie
commands and
-R
rs
w
high-quality graphics
ie
ve
en
ni
ss
se
id
br
As
am
207
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Complicated programs and games are
se
The text-based
id
written using text-based languages.
br
programming language C++
As
Other games and programs are
am
y
very simple, such as: is one of the most popular
op
&
languages for writing
-C
C
• a simple subject quiz that asks
es
computer games!
a question, provides space to
w
y
Pr
op
ie
answer it and then gives some feedback
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
se
id
Unplugged activity 3
br
y
op
&
Look at this list of software and games. For each one,
-C
C
say if you think a block-based programming language
es
w
or a text-based programming language would be
y
Pr
op
ie
most suitable to create it.
ev
ity
C
R
rs
w
ve
t-
correct spelling
ev
en
ni
R
ss
se
id
As
C
es
w
y
Pr
op
ie
ev
ity
C
ve
programming languages.
t
ev
en
ni
R
I can give examples of some languages and what they might be used for.
m
ge
ss
se
id
br
As
am
208
y
op
&
-C
C
es
R
rs
ve
t-
4.3 Storing data
en
ni
U
m
ge
ss
4.3 Storing data
se
id
br
As
am
y
We are going to:
op
&
-C
C
• understand why data must be changed into numbers before a computer
es
w
y
can process it
Pr
op
ie
ev
• identify the units used to show how large a storage device is.
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
analogue continuous gigabyte nibble
ge
ss
bit digital kilobyte sound waves
se
id
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
Getting started
As
am
•
es
w
y
•
op
ie
ev
ity
C
ve
en
ni
R
m
ge
ss
se
id
br
As
am
209
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Look at a digital device. See if you can write down:
op
&
-C
s
• how much storage it has
C
es
w
y
Pr
op
ie
ev
how much storage is left
ity
•
C
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
se
id
Digital storage
br
As
am
y
op
&
Digital data and analogue data
-C
C
es
w
y
There are two types of data: digital data and analogue data.
Pr
op
ie
ev
Digital data is made up of binary digits: the numbers 0 and 1.
ity
C
R
The number 0 means that electricity is turned off, and the number 1
rs
w
ie
ve
en
ni
ss
As
data can take any value. A line of analogue data on a graph changes
am
Look at the following picture. It shows what analogue data and digital
s
C
es
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
210
y
op
&
-C
C
es
R
rs
ve
t-
4.3 Storing data
en
ni
U
m
ge
ss
Analogue
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
Digital
ev
ity
C
R
1
rs
w
ie
ve
t-
ev
en
ni
0
R
m
ge
ss
Digital devices can understand and create digital data.
se
id
As
The most common analogue data is sound! Your ears hear in analogue
am
y
op
&
and continuously detect sound as sound waves. Sound waves are all
-C
around us. For example, your friends talking to you, the sound of the
C
es
w
y
Pr
op
ie
Sound waves are air vibrations – they travel through the air and our
ev
ity
C
ears detect them. Our brain processes the sound waves and we hear
R
rs
w
the sound.
ie
ve
t-
ev
We can’t see sound waves, but the image below shows what a sound
en
ni
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
ve
numbers 0 and 1.
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
211
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
For a computer to understand, process or use analogue data such as sound,
se
id
we need to digitise it. This means converting (changing) the analogue data
br
As
into digital data (numbers) that a computer can process.
am
y
op
&
-C
s
Digitising analogue data
C
es
w
y
Pr
op
ie
To digitise sound waves, we need a microphone. Microphones detect
ev
ity
C
analogue data and a computer program then digitises the analogue data.
R
rs
w
ve
t-
Computers can detect other forms of analogue data using different
ev
en
ni
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
y
op
&
in digital format
-C
C
es
w
y
Pr
We can only store analogue data after it has been converted into digital data.
op
ie
ev
ity
You can do different things with the digital data. For example:
C
-R
rs
w
ve
t
ev
ss
se
id
br
As
am
212
y
op
&
-C
C
es
R
rs
ve
t-
4.3 Storing data
en
ni
U
m
ge
ss
We can process digital music on a computer using Stay safe!
se
id
audio editing programs. Audio editing programs
There are laws that
br
As
can change the digital data in different ways.
protect most music from
am
y
For example, they can:
op
&
being copied and shared
-C
s
with other people.
C
es
• add more digital data Always check to see if you
w
y
Pr
op
ie
are allowed to send music
• delete parts of the recorded sound.
ev
ity
C
to other people.
R
rs
w
ie
ve
t-
ev
en
ni
Activity 1
R
m
ge
ss
You will need: a desktop computer, laptop or tablet with access to the internet
se
and sound recording software
id
br
As
Write a script to describe your understanding of how analogue data
am
y
op
&
is stored as digital data.
-C
C
Include the following in your script:
es
w
y
Pr
ie
ev
2 What is digital data?
ity
C
R
rs
ve
t-
4 What can we use to digitise analogue data such as sound?
ev
en
ni
ss
y
op
&
How am I doing?
-C
C
es
Play your recording back. Did you describe digitisation of data well?
w
y
ie
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
213
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Units of storage
se
id
br
As
Computers can only process and store digital data. Remember,
am
y
digital data is stored as binary digits: the numbers 0 and 1.
op
&
-C
s
Humans use a different way of counting that uses the digits 0 to 9,
C
es
and the terms tens, hundreds, thousands and millions to group
w
y
Pr
op
ie
numbers together.
ev
ity
C
R
rs
w
ve
t-
These are units of storage.
ev
en
ni
m
ge
ss
• A byte is made up of 8 bits.
se
id
•
As
A megabyte (MB) is 1000 kilobytes. These units of storage are
am
y
op
&
often used when talking about the sizes of files we store on a
-C
C
es
w
y
ie
when talking about how big storage devices are, like hard disks
ev
ity
C
R
rs
w
ve
t-
ev
m
ge
ss
Look at the table. It shows the units of storage and their size in bits.
se
id
br
Bit 1
y
op
&
-C
Nibble 4
es
w
y
Byte 8
Pr
op
ie
ev
ity
C
ve
t
ev
en
ss
se
id
br
As
am
214
y
op
&
-C
C
es
R
rs
ve
t-
4.3 Storing data
en
ni
U
m
ge
ss
Did you know?
se
id
One terabyte could store roughly 1000 hours of movies or
br
As
150 000 good-quality pictures.
am
y
op
&
-C
C
es
Unplugged activity 2
w
y
Pr
op
ie
ev
You will need: a pen or pencil, Worksheet 4.4
ity
C
R
rs
w
ve
t-
ev
en
Complete the worksheet by matching the units of storage with the correct box
ni
R
m
ge
ss
se
id
br
As
am
y
How easy did you find learning the order of the units of
op
&
storage? What made it difficult? Is there anything you could
-C
C
es
use to help you remember the order more easily next time?
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
storage devices.
ge
ss
The larger the number of bits we can store, the more a computer can ‘remember’.
se
id
Storage devices like hard disk drives (HDDs) and solid state drives (SSDs) are often
br
As
measured using terabytes (TB). One terabyte can store around 85 million pages of
am
y
op
&
w
y
Pr
If an SSD becomes full, we need to add more SSDs to allow the computer to store
op
ie
more data. You cannot make an SSD bigger once you have bought it. So it is
ev
ity
C
important to think about how much storage space you need before buying it.
-R
rs
w
ie
ve
Storage like random access memory (RAM) is smaller. RAM is usually measured in
t
ev
en
ni
gigabytes (GB). The most common size of RAM is 32 GB. This can store about 2000
R
music files. RAM comes in smaller sizes because it costs more to manufacture than
ge
ss
SSD storage. This is because the data on RAM can be accessed much faster than
se
id
As
am
215
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
se
id
Sofia, I can’t
br
As
am store any more pictures
y
on my tablet!
op
&
-C
C
Try upgrading!
es
w
y
Add a 4 terabyte
Pr
op
ie
SSD to it!
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
store up to 22 TB of data. This would be more than
ge
ss
an average person would use in a lifetime. SSDs use
se
id
y
op
&
2 TB and 4 TB. More modern SSDs can cost three
-C
C
es
w
y
Pr
op
ie
storage sizes. This is because they are designed to
ev
ity
C
R
rs
w
sizes for USB flash drives are 128 GB and 256 GB.
ie
ve
t-
Memory cards are often used in mobile gaming devices. Memory cards
ev
en
ni
are also small and store about the same amount as USB flash drives.
R
You will often see memory cards with 128 GB and 256 GB of storage.
ge
ss
Portable SSDs can store much more data than memory cards,
se
As
am
y
op
&
C
es
ie
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
216
y
op
&
-C
C
es
R
rs
ve
t-
4.3 Storing data
en
ni
U
m
ge
ss
Questions
se
id
br
As
1 How many nibbles are there in one byte?
am
y
2 How many bytes are there in 2 KB?
op
&
-C
s
3 How many bits are there in 2 KB?
C
es
w
4 How many gigabytes are there in 500 MB?
y
Pr
op
ie
5 How many megabytes are there in 20 TB?
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
What is the hardest thing about converting units of storage?
ni
R
m
What strategy can you use to help you in the future?
ge
ss
se
id
br
As
am
y
Look what I can do!
op
&
-C
C
es
w
y
Pr
op
ie
I can identify the units used to show how large a storage device is.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
217
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
4.4 Inside a computer
se
id
br
As
am
y
We are going to:
op
&
-C
C
• explore what a computer processor is
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
hertz transistor
ge
ss
persistent storage volatile storage
se
id
primary storage
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
Getting started
es
w
y
Pr
ie
ev
ity
•
-R
rs
w
ve
t
ev
en
ss
se
id
br
As
am
y
op
&
-C
C
es
R
rs
ve
t-
4.4 Inside a computer
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
You will need: a calculator and a paper/pen
op
&
-C
C
es
Work with a partner.
w
y
Pr
op
ie
One of you will complete the sums below without a calculator.
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
• 423 + 143 • 25 × 50
R
m
• 213 + 124 • 126 – 83
ge
ss
se
id
• 105 – 53 • 125 ÷ 5
br
• 3 × 41 •
As
464 ÷ 4
am
y
op
&
How long did it take you to do the calculations?
-C
C
Was it quicker working it out in your head or using a calculator?
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
219
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
The processor
se
id
br
As
The processor in a computer is called the
am
y
op
&
central processing unit, or CPU for short.
-C
s
Without the processor, a computer
C
es
would not be able to process data.
w
y
Pr
op
ie
Many people think of the processor
ev
ity
as the brain of the computer.
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
The CPU is a bit like a very small calculator
se
id
As
are only around 2 cm2. A transistor is a tiny
am
y
device that controls the flow of electricity
op
&
-C
C
es
w
y
Pr
out calculations.
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
ss
se
C
es
Pr
op
A single hertz is ‘one cycle per second’. This means one calculation
-R
rs
w
per second.
ie
ve
Therefore, a CPU that runs at one gigahertz can perform one billion
t
ev
en
ni
m
ge
As
am
220
y
op
&
-C
C
es
R
rs
ve
t-
4.4 Inside a computer
en
ni
U
m
ge
ss
The CPU inside a calculator works much faster than your
se
id
brain. Therefore, it is a lot quicker at calculating difficult
br
As
sums. The CPU inside a computer is even faster than the
am
y
one inside a calculator.
op
&
-C
C
es
mathematical sums. For example, we would use a
w
y
Pr
computer to work out the path of a planet’s orbit around
op
ie
ev
the solar system. To do this by hand would take a really
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
m
ge
ss
We know that computers need to store data to be
se
id
As
store data?
am
y
op
&
Computer systems usually have two types of storage:
-C
C
es
w
y
ie
the storage device usually loses the data it has stored
ev
ity
C
R
rs
w
ve
t-
random access memory (RAM). RAM stores all of the
ev
en
ni
ss
As
y
op
&
Pr
op
ie
-R
rs
w
Question
ie
ve
t
ev
en
ni
m
ge
ss
se
id
br
As
am
221
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Primary storage usually costs a lot more than secondary storage for
se
id
the same amount of storage. This is because it is made of high-quality
br
As
materials. This allows the CPU to access the data stored very quickly.
am
y
This is important because the CPU makes billions of calculations per
op
&
second. Slow primary storage can slow the CPU down.
-C
C
es
Secondary storage can store huge amounts of data. However,
w
y
Pr
it takes more time for the computer to access the data from
op
ie
ev
secondary storage.
ity
C
R
rs
w
ve
t-
Many devices such as mobile phones, laptops, desktop computers
ev
en
ni
m
ge
ss
Activity 1
se
id
br
As
You will need: a desktop computer, laptop or tablet with access to the internet,
am
y
presentation software or word processing software
op
&
-C
C
Copy and complete this table using presentation software or word
es
w
y
ie
for each type of storage.
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
primary storage
ge
ss
Size/capacity
se
id
br
Storage type
As
am
Physical size
es
w
y
Pr
Image
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
222
y
op
&
-C
C
es
R
rs
ve
t-
4.4 Inside a computer
en
ni
U
m
ge
ss
Continued
se
id
br
As
How are we doing?
am
y
Share your table with a partner. Discuss any differences you have.
op
&
-C
C
Edit your table with anything you learnt from your partner.
es
w
y
Pr
op
ie
ev
ity
Unplugged activity 2
C
R
rs
w
ie
t-
ev
en
ni
m
ge
ss
Your poem or rhyme should include:
se
id
y
op
&
• how to remember the difference between the two types of storage.
-C
C
es
Read your poem to another learner. Ask them if this helped them
w
y
Pr
ie
ev
ity
Ask for one idea to improve your poem and use the feedback to make
C
R
your poem even better.
rs
w
ie
ve
t-
ev
en
ni
R
Question
ge
ss
se
id
As
am
y
op
&
C
es
Pr
op
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
223
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
4.5 Robots in industry
se
id
br
As
am
y
We are going to:
op
&
-C
C
• explore what robots do in industry
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
autonomous
ie
ve
t-
manufacturing
ev
en
ni
robot
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
Getting started
w
y
Pr
op
ie
ve
en
ss
se
id
br
As
am
224
y
op
&
-C
C
es
R
rs
ve
t-
4.5 Robots in industry
en
ni
U
m
ge
ss
Continued
se
id
br
Now try this!
As
am
y
Your teacher will set up a maze in your classroom. Work with other learners
op
&
-C
to guide a blindfolded person through the maze. You will be timed for
C
es
each try. You have three tries to get the best time you can.
w
y
Pr
op
ie
Answer these questions:
ev
ity
C
• How did you use commands to help guide the person through the maze?
R
rs
w
•
ve
t-
ev
en
ni
m
• What did you learn from their instructions and how did that affect
ge
ss
your own choice of instructions?
se
id
br
As
am
y
op
&
Robots in industry
-C
C
es
There are many different types of robot. A robot is a machine that we can program
w
y
Pr
op
ie
to carry out instructions by itself. When robots work without help from humans, we
ev
ity
C
say that they are autonomous. Creating autonomous robots is a very complicated
R
rs
process. To be able to complete tasks on their own, the robots run long, complex
w
ie
ve
t-
programs that take a long time for programmers to write.
ev
en
ni
ss
using machines.
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
225
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Look at the robots in the car factory. They are designed to do the
se
id
same actions again and again. They do the same job day-by-day
br
As
for 24 hours without a break!
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
We often think that all robots look like humans, but most robots do not
br
As
look like us.
am
y
Robots come in many shapes and sizes. Some perform very difficult
op
&
-C
C
es
w
y
Pr
op
ie
that picks a box off a shelf.
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
226
y
op
&
-C
C
es
R
rs
ve
t-
4.5 Robots in industry
en
ni
U
m
ge
ss
Robots can be very small. The circuits on
se
id
electronic devices are connected together
br
As
using tiny robotic arms. These robots are
am
y
very accurate.
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
on four legs.
As
am
y
op
&
-C
C
Advantages and
es
w
y
Pr
op
ie
disadvantages
ev
ity
C
R
rs
w
ve
t-
• They can work without needing to
ev
en
ni
take breaks.
R
m
ge
ss
As
to work.
am
y
op
• They can work in places that are dangerous
&
-C
C
es
Pr
op
ie
-R
ve
expensive to fix.
t
ev
en
ni
difficult to create.
ge
ss
programmed to do.
br
As
am
227
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Advantages of using humans include:
se
id
• They can work well in a team and change jobs easily.
br
As
•
am
They can spot things that robots may not be able to.
y
op
&
• They do not need complex programs to work.
-C
C
es
• They are able to do many jobs that robots cannot do
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ve
t-
ev
en
• They have to be paid money to work.
ni
R
m
• They need to take breaks and have time off.
ge
ss
• They work more slowly than robots.
se
id
br
As
am
Unplugged activity 1
y
op
&
Have a short discussion with a partner about the advantages and
-C
C
es
w
y
Pr
op
Copy the table below to show all the advantages and disadvantages of using
ie
ev
humans and robots. Try to think of extra advantages and disadvantages and
ity
C
R
include them in your table.
rs
w
ie
ve
t-
ev
Advantages Disadvantages
en
ni
R
ss
As
without a break
am
y
op
&
-C
C
es
w
y
Pr
How am I doing?
op
ie
ev
ity
C
ve
en
ni
ss
se
id
br
As
am
228
y
op
&
-C
C
es
R
rs
ve
t-
4.5 Robots in industry
en
ni
U
m
ge
ss
Large companies that sell products online have huge warehouses
se
id
of items that need to be sent to customers. Robots drive themselves
br
As
around these warehouses and collect the items. The robots then put
am
y
the products in a place where they can be packed up and sent to
op
&
the customer.
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
Robots in car manufacturing
op
&
-C
C
es
w
y
parts of the car are very heavy. Also, cars need to be built carefully,
Pr
op
ie
for example robots weld and build things very accurately. This helps
ev
ity
C
to make the car safer for the person driving it. To produce as many
R
rs
w
cars as possible, building needs to happen all through the day and
ie
ve
t-
sometimes all through the night as well!
ev
en
ni
R
Robots are very useful when manufacturing cars. They can lift heavy
m
ge
items that humans cannot lift. They are also very accurate when
ss
measuring and fixing parts together. Robots can work through the
se
id
br
whole day and night, allowing more cars to be built in the same
As
am
period of time. y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
229
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
There are some things that robots cannot do, however. For example,
se
id
they cannot put the electrical circuits in the car. This task is too
br
As
difficult for a robot because of all the wires that need plugging in.
am
y
This is something a human needs to do. A human will do this as the
op
&
circuits and wires are very small. Human hands are better at pushing
-C
C
wires through small holes, or connecting small plugs to each other.
es
w
y
Pr
op
ie
Robots in food manufacturing
ev
ity
C
R
rs
w
ve
t-
the world each day? Imagine how much
ev
en
ni
m
how long a single person would prepare to
ge
ss
grow all of the food, package it and send it
se
id
to the shops.
br
y
op
&
of these tasks quickly. Because robots
-C
C
es
w
y
Pr
op
ie
ev
ity
C
R
rs
w
crops automatically.
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
230
y
op
&
-C
C
es
R
rs
ve
t-
4.5 Robots in industry
en
ni
U
m
ge
ss
Activity 2
se
id
br
As
You will need: a desktop computer, laptop or tablet with access to the internet,
am
y
a pen and paper
op
&
-C
C
es
You are going to carry out a news interview for ‘Cambridge International News’.
w
y
Pr
op
The interview has the title: ‘How robots are helping us in industry’.
ie
ev
ity
C
Work in a pair.
R
rs
w
ve
t-
ev
en
• One of you will be a factory owner.
ni
R
m
Together, pick one industry you are interested in. Write a short interview
ge
ss
about how robots are helping in the industry you have chosen.
se
id
You may use this book and the internet to help you research ideas.
br
As
am
The reporter needs to ask the factory owner questions about how they
y
op
&
use robots.
-C
C
es
The factory owner needs to say how robots have helped their factory.
w
y
Pr
op
ie
Your interview should be about two minutes long.
ev
ity
C
R
rs
w
ie
ve
en
ni
ss
se
• one area you think they could improve on, or one thing they have
id
br
not mentioned.
As
am
y
op
&
-C
C
es
Pr
op
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
231
y
op
&
-C
C
es
R
rs
ve
t-
4 Computer systems
en
ni
U
m
ge
ss
Project
se
id
br
As
Designing computers and robots
am
y
op
Imagine you own a robotics and computer company.
&
-C
C
es
Task 1
w
y
Pr
op
ie
ev
You will create a marketing presentation to send to
ity
C
R
people to encourage them to buy your new computer.
rs
w
ie
ve
t-
1 Identify the purpose of your new computer. For example, it could be used
ev
en
ni
m
2 Design a computer that will be fit for purpose. You will need to think
ge
ss
about the:
se
id
a processor
br
b RAM
As
am
y
op
&
c hard disk
-C
C
d graphics card.
es
w
y
Pr
ie
ev
4 Create the marketing presentation to show:
ity
C
R
a what your computer will look like
rs
w
ie
ve
t-
b the different parts you are using
ev
en
ni
c the total cost of the computer (remember that you'll want to make
R
a profit so it should cost more for people to buy than it cost you to build).
ge
ss
5 Research some software that you think will be useful for your computer,
se
id
As
a Is it free or paid-for?
am
y
op
&
6 Write a few sentences to describe why this computer will be the best
es
w
y
ie
7 Add anything else you think may help sell this computer.
ev
ity
C
ve
t
ev
8 Think of five advantages that this computer will give the person who buys it.
m
ge
ss
se
id
br
As
am
232
y
op
&
-C
C
es
R
rs
ve
t-
4.5 Robots in industry
en
ni
U
m
ge
ss
Continued
se
id
br
As
Task 2 am
y
op
Your company is also going to design a new robot to sell to customers.
&
-C
C
Think of an industry that interests you. How could a new robot help?
es
w
y
Pr
1 Think about what the robot will look like, and what it will do.
op
ie
ev
2 Draw your robot on a large piece of paper.
ity
C
R
3 Think of five advantages that this robot will give the person who buys it.
rs
w
ie
ve
t-
Add these to your drawing.
ev
en
ni
R
m
ge
ss
Check your progress
se
id
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
5 What are text-based programming languages good at creating?
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
ss
or a text-based programming
id
br
language?
As
am
C
es
Pr
op
ie
ve
t
ev
en
ni
ss
se
id
br
As
am
233
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
Glossary
ge
ss
se
id
br
As
am
y
how things look or appear to people 190
op
&
aesthetics
-C
s
Zara likes the aesthetics of the car. Marcus does not.
C
es
w
not digital, a type of signal that uses waves such as
y
analogue
Pr
op
ie
light or sound, that humans and animals can create
ev
ity
C
R
rs
w
ve
t-
software that identifies, removes and prevents malware 172
ev
antivirus
en
ni
m
identified a virus.
ge
ss
a symbol that instructs a computer about what type of
se
arithmetic
id
br
or multiplication 23
y
op
&
The + symbol is an arithmetic operator for addition,
-C
C
and the – symbol is an arithmetic operator for subtraction.
es
w
y
Pr
ie
In the record, the attribute for the ‘Colour’ field was ‘red’.
ev
ity
C
R
the process of checking that the user is who they say
rs
authentication
w
ie
ve
t-
they are, for example by seeing if their password is correct 177
ev
en
ni
ss
As
my test scores.
w
y
Pr
op
ie
ve
en
ni
m
ge
ss
se
id
br
As
am
234
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
bit a single binary digit (number) – the smallest unit of
ge
ss
binary counting 214
se
id
A bit can either be 1 or 0.
br
As
block-based a way of writing program code that uses drag-and-drop
am
y
op
&
programming ready-made lines of code to build working algorithms 204
-C
s
language Scratch is a block-based programming language.
C
es
w
y
Pr
op
ie
(to broadcast is to send a message out into the world for
ev
ity
C
people to receive) 41
R
rs
w
ve
t-
the sub-routine.
ev
en
ni
m
The file was only one byte in size.
ge
ss
se
to use a sub-routine or function in an algorithm 36
id
call
br
Sofia can call the helper sub-routine from her main code,
As
am
y
op
&
-C
cell reference a little code for the location of each cell, made up of
s
C
es
w
y
Pr
ie
instructions about certain cells.
ev
ity
C
R
rs
character
ie
ve
t-
found on a computer keyboard 24
ev
en
ni
I saw it.
ge
ss
As
y
op
&
Pr
op
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
235
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
comparison a symbol that compares two numbers in an algorithm,
ge
ss
operator for example, to see if one number is greater than,
se
id
less than or equal to the other 28
br
As
am A comparison operator is used to check when the score
y
goes above 5.
op
&
-C
s
component an individual part of something 186
C
es
A computer is made up of many connected components.
w
y
Pr
op
ie
condition a situation that must be true for something else to
ev
ity
C
be possible 21
R
rs
w
The condition has been met: ‘score > 5’ is true, so the ‘say
ie
ve
t-
score’ line will run.
ev
en
ni
conditional
U
m
statement set of instructions or another set of instructions,
ge
ss
depending on whether a certain situation is true or false. 21
se
id
y
op
&
continuous uninterrupted, unbroken 210
-C
C
The sound of the fire alarm was continuous.
es
w
y
Pr
continuous data numerical data that can have any value in a certain
op
ie
range, for example data about time, weight or length 97
ev
ity
C
R
rs
w
ie
ve
t-
cost how much money you have to pay to buy something 192
ev
en
ni
it contains.
ge
ss
As
C
es
data type the form of data, for example, text or numbers 138
w
y
Pr
op
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
236
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
decision a choice you make after thinking about the options,
ge
ss
or a flowchart symbol that tells the program to decide
se
id
which path to follow next 12
br
As
am When they got to the decision in the flowchart, they had to
y
decide whether to follow the ‘Yes’ arrow or the ‘No’ arrow.
op
&
-C
s
decomposition breaking a large problem into smaller parts that are
C
es
easier to understand and simpler to solve 53
w
y
Pr
op
ie
Programmers use decomposition to help them
ev
ity
C
R
rs
efficient programs.
w
ie
ve
t-
define to give a sub-routine a name and then create the
ev
en
ni
m
First define your sub-routine, then call it from the main code.
ge
ss
digital stored electronically on a device using binary digits
se
id
As
A digital signal has square waves when its values are
am
y
op
&
shown on a graph.
-C
C
digitise to convert analogue data into digital data 212
es
w
y
ie
can process it.
ev
ity
C
R
rs
w
ve
t-
ev
read it can
en
ni
R
evaluation
ge
ss
it solves a problem 68
se
id
success criteria.
As
am
C
es
Pr
op
ie
-R
rs
w
ve
‘Flower Colour’.
t
ev
en
ni
ss
As
am
237
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
fit for purpose suitable for the job we want to use it for 198
ge
ss
A hockey ball is fit for purpose.
se
id
flowchart a diagram that shows the steps of an algorithm 10
br
As
The flowchart helped people see how the algorithm worked.
am
y
op
&
formula a sequence of operators, numbers and/or cell references
-C
C
written in a spreadsheet cell, which tells the software to
es
w
y
do a calculation 122
Pr
op
ie
This column calculates the total for each row using
ev
ity
C
a formula.
R
rs
w
ve
t-
ev
en
ni
R
m
ge
ss
function a type of sub-routine – a separate section of code that
se
runs when it is called from the main code and may be
id
(programming)
br
y
I called the ‘AtoZ’ function to put the items into
op
&
alphabetical order.
-C
C
es
w
y
Pr
ie
The SUM function adds together all the values in a row
ev
ity
C
or column.
R
rs
w
ie
ve
t-
functionality the range of tasks that an item or piece of software can do 190
ev
en
ni
ss
As
y
op
&
w
y
ie
ve
t
ev
my savings.
en
ni
R
m
ge
ss
se
id
br
As
am
238
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
hardware the physical parts of a computer or digital device –
ge
ss
the parts you can touch 186
se
id
A computer’s hardware includes the motherboard and
br
As
am graphics card.
y
op
&
healthcare an organised way of looking after the medical needs of
-C
s
individuals or a community 151
C
es
Sets of organised data are very useful for solving problems
w
y
Pr
op
ie
in healthcare.
ev
ity
C
R
rs
w
ve
t-
Calculations were made at a speed of 50 hertz.
ev
en
ni
m
making sure any changes made to the stage or sprites
ge
ss
when a Scratch program is run are reset 42
se
id
As
initialisation block makes sure the stage is clear each time
am
y
op
&
the program is run again.
-C
C
input to provide data to a computer 79
es
w
y
ie
input variable a piece of data that a user puts into a program for the
ev
ity
C
R
rs
w
ve
t-
ev
password.
en
ni
R
input-process-
ge
ss
C
es
Pr
op
ie
each other 24
C
-R
rs
w
ve
en
ni
R
m
ge
ss
se
id
br
As
am
239
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
interface the part of a program that the user sees, and that tells
ge
ss
them what they need to do 54
se
id
The program’s coding was very clever but the interface
br
As
am needed more work.
y
op
&
interrelate to be connected in such a way that each object has an
-C
s
effect on or depends on the other 49
C
es
The two sprites interrelate by calling each other’s
w
y
Pr
op
ie
sub-routines.
ev
ity
C
R
rs
w
ve
t-
My school files are stored on our school intranet.
ev
en
ni
iteration
U
m
are being repeated 22
ge
ss
A count-controlled loop is one type of iteration.
se
id
br
y
The text document was 10 kilobytes in size.
op
&
-C
longevity how long something lasts for, or its ability to last 191
s
C
es
w
y
Pr
op
ie
malware software designed to disrupt or harm a computer system 172
ev
ity
C
R
rs
w
ve
t-
using machines 225
ev
en
ni
ss
network overload
am
w
y
ie
nibble
ity
C
ve
en
ni
ss
se
id
br
As
am
240
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
output information that you get out of a computer system
ge
ss
after data has been processed 79
se
id
After the play button was pressed, a song was output
br
As
am through the speakers.
y
op
&
packet a small parcel of data – part of a sent file that travels
-C
s
through a network 167
C
es
Sofia’s email was split into many hundreds of packets
w
y
Pr
op
ie
when she sent it.
ev
ity
C
R
rs
w
ve
t-
My account is protected with a password.
ev
en
ni
persistent storage data storage that keeps its data when the power is
R
m
turned off 221
ge
ss
A hard disk is a persistent storage device.
se
id
br
y
op
&
website and asking them to log into it 176
-C
C
A phishing email was sent to my parents asking them for
es
w
y
ie
phrase searching searching for data that matches a series of words 146
ev
ity
C
R
rs
w
in the database.
ie
ve
t-
ev
en
ni
physical a small computing device that you can program and hold
R
in your hands 81
m
programming
ge
ss
As
C
es
primary storage short term data storage that loses the data when the
w
y
Pr
op
ie
ve
be worked on first 58
t
ev
en
ni
ss
se
id
br
As
am
241
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
procedure a type of sub-routine, a small section of code that can
ge
ss
be reused multiple times in a program 24
se
id
She made her code clearer and more organised by
br
As
am using procedures.
y
op
&
process to carry out calculations and instructions 79
-C
s
A computer will process the input data to produce
C
es
an output.
w
y
Pr
op
ie
processor the device that carries out calculations in a computer 220
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
R
m
programmers use regularly.
ge
ss
se
software that allows you to write and test programs 202
id
programming
br
As
environment The Scratch ‘Create’ screen is an example of
am
y
a programming environment.
op
&
-C
C
es
w
y
Pr
ie
ev
ity
C
R
rs
ve
t-
A prompt appeared on the screen asking for my date
ev
en
ni
of birth.
R
ss
and evaluate 56
se
id
As
construction began.
am
y
op
&
question type the way in which a question is asked and answered, for
-C
Pr
op
ie
my form.
ie
ve
en
ni
ss
As
am
242
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
radio waves a type of energy used for long-distance communication
ge
ss
that is generated by a transmitter and detected
se
id
by a receiver 165
br
As
am The radio in my garage uses radio waves to receive the
y
music I listen to.
op
&
-C
s
random in an order that does not have a clear pattern and
C
es
cannot be predicted 58
w
y
Pr
op
ie
Sofia couldn’t decide which book to read so she shut her
ev
ity
C
R
rs
w
ve
t-
usually a row of data, which connects all the fields
ev
en
ni
m
Each record contained the fields ‘Name’, ‘Age’ and ‘Height’.
ge
ss
retail industry related to shopping and the sale of items
se
id
As
My favourite toy shop is just a small part of the
am
y
op
&
retail industry.
-C
C
robot a machine that we can program to carry out instructions
es
w
y
by itself 225
Pr
op
ie
Each car is built by a robot.
ev
ity
C
R
rs
w
ve
t-
ev
storage devices.
en
ni
R
secure
ge
ss
As
answer to a condition
y
21
op
&
-C
C
es
Pr
op
ie
-R
rs
w
ve
en
ni
ss
As
am
243
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
server farm a collection of computer servers that are connected
ge
ss
together in a network. 160
se
id
Our school has eight servers that are connected together in
br
As
am the server farm.
y
op
&
software programs that enable us to use computers to
-C
s
complete tasks 185
C
es
Word processing software is very useful for writing
w
y
Pr
op
ie
up investigations.
ev
ity
C
R
rs
w
ve
t-
My ears can detect sound waves.
ev
en
ni
junk emails that an account holder has not asked for 176
R
spam
U
m
My email account receives 12 spam emails a day.
ge
ss
se
a document full of cells arranged in rows and columns,
id
spreadsheet
br
y
Spreadsheets are a useful way to organise and
op
&
analyse data.
-C
C
es
w
y
Pr
ie
the most popular computer game was in our school.
ev
ity
C
R
rs
streaming
ie
ve
t-
instead of downloading it 161
ev
en
ni
ss
As
y
op
&
an algorithm.
w
y
Pr
op
ie
be successful 69
-R
rs
w
ve
en
ni
m
ge
ss
se
id
br
As
am
244
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
SUM a spreadsheet function, written =SUM(), that finds
ge
ss
the total value of the selected cells 124
se
id
I can use the SUM function to add all of my costs together.
br
As
systematic thoughtful and logical, according to a method that
am
y
op
&
makes sense 74
-C
s
He created the seating plan in a systematic way, starting
C
es
with the children.
w
y
Pr
op
ie
terabyte a unit of data storage equal to 1000 gigabytes 214
ev
ity
C
R
rs
w
ve
t-
ev
en
ni
m
language.
ge
ss
se
a tiny device that controls the flow of electricity in
id
transistor
br
y
op
&
-C
C
es
w
y
Pr
ie
ev
ity
C
R
rs
w
ve
t-
holiday in March.
ev
en
ni
ss
As
the processor.
am
y
op
&
w
y
user experience.
Pr
op
ie
username
ity
C
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
245
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
validation rules restrictions that only allow certain types or formats of
ge
ss
data to be entered into a spreadsheet or form 112
se
id
I used validation rules in my spreadsheet to make sure
br
As
am dates were in the right format.
y
op
&
variable a named container (like a box) in a program,
-C
s
that temporarily stores a value that can change 23
C
es
We stored points won in the game in a variable
w
y
Pr
op
ie
called Score.
ev
ity
C
volatile storage short term data storage that loses the data when the
R
rs
w
ve
t-
RAM is an example of volatile storage.
ev
en
ni
wi-fi
U
m
instead of wires 166
ge
ss
It is important that my laptop has wi-fi.
se
id
br
y
op
&
connections 165
-C
C
I use a wireless connection to access the internet on
es
w
y
my tablet.
Pr
op
ie
ev
ity
C
R
rs
w
ie
ve
t-
ev
en
ni
R
m
ge
ss
se
id
br
As
am
y
op
&
-C
C
es
w
y
Pr
op
ie
ev
ity
C
-R
rs
w
ie
ve
t
ev
en
ni
R
m
ge
ss
se
id
br
As
am
246
y
op
&
-C
C
es
R
rs
ve
t-
en
ni
U
m
Acknowledgements
ge
ss
se
id
br
As
am
y
op
&
The authors and publishers acknowledge the following sources of copyright material and are grateful
-C
for the permissions granted. While every effort has been made, it has not always been possible to
C
identify the sources of all the material used, or to trace all copyright holders. If any omissions are
es
w
brought to our notice, we will be happy to include the appropriate acknowledgements on reprinting.
y
Pr
op
ie
Thanks to the following for permission to reproduce images:
ev
ity
Unit 1 Enot-poloskun/GI; SrdjanPav/GI; Flashpop/GI; Sarayut Thaneerat/GI; StockPlanets/GI;
C
Catherine Falls Commercial/GI; Wonry/GI; Ariel Skelley/GI; Johnny Johnson/GI; Izabela Habur/
R
rs
w
GI; Dinodia Photo/GI; Jasmin Merdan/GI; A-Digit/GI; Mayur Kakade/GI; Yamtono/GI; Nora Carol
ie
ve
t-
Photography/GI; Jamie Grill/GI; Ariel Skelley/GI; mixetto/GI; Korrawin/GI; Photo_Concepts/GI; Virojt
ev
en
Changyencham/GI; Boris Panov/GI; BongkarnThanyakij/GI; dlewis33/GI; AleksandarNakic/GI;
ni
SrdjanPav/GI; ATHVisions/GI; Kirill Smyslov/GI; Erik Von Weber/GI; Jayk7/GI; Olemedia/GI; Maskot/
R
m
GI; Zeljkosantrac/GI; LumiNola/GI; Roberto Jimenez Mejias/GI; RobinOlimb/GI; Guido Mieth/GI; Yagi
ge
ss
Studio/GI; Malerapaso/GI; Bill Polo/The Boston Globe via GI; UniversalImagesGroup/GI; nemke/GI;
Hutchings Stock Photography/GI; Dan Kenyon/GI; JGI/GI; Emilija Manevska/GI; Jennifer A Smith/GI;
se
id
Unit 2 Sean Gladwell/GI; Steve Greaves/GI; Sandi Rutar/GI; Image Professionals GmbH/GI; Appfind/
br
As
GI; Karanik Yimpat/GI; Bernard Van Berg/GI; Alubalish/GI; Yellow Dog Productions/GI; Designer29/GI;
am
y
Jamie Grill Photography/GI; Tetra Images/GI; Peter Dazeley/GI; Martinedoucet/GI; Alex Potemkin/GI;
op
&
Jasmin Merdan/GI; Thanasis Zovoilis/GI; Zurijeta/GI; Jxfzsy/GI; Ivetavaicule/GI; Manuel Breva Colmeiro/
-C
GI; Maryna Terletska/GI; Jude Evans/GI; Dougal Waters/GI; Paul Biris/GI; Edwin Remsberg/GI; Jamie
C
es
Grill/GI; Ray Kachatorian/GI; Prapass Pulsub/GI; M_a_y_a/GI; MoMo Productions/GI; Maryna Terletska/
w
y
GI; Tuul & Bruno Morandi/GI; Jasmin Merdan/GI; Ida Marie Odgaard/GI; Isabel Pavia/GI; MirageC/GI;
Pr
op
ie
Alexmatamata/GI; Light to enjoy the world/GI; Nitat Termmee/GI; Patcharanan Worrapatchareeroj/GI;
ev
ity
C
Catherine Falls Commercial/GI; Andrew Brookes/GI; TommL/GI; Erik Isakson/GI; Shapecharge/GI; Mint
Images/GI; Unit 3 enjoynz/GI; Zhihao/GI; Pictafolio/GI; MoMo Productions/GI; Witthaya Prasongsin/
R
rs
w
GI; Bestshortstop/GI; PJjaruwan/GI; Jasmin Merdan/GI; Steven Tritton/GI; Oscar Wong/GI; Stock
ie
ve
t-
photo and footage/GI; MerveKarahan/GI; Jamie Grill/GI; JGI/GI; Cuba/GI; Skynesher/GI; Samere Fahim
ev
en
ni
GI; Melinda Podor/GI; Unit 4 SasinT Gallery/GI; Phynart Studio/GI; Marko Geber/GI; Vadim Krupnov/
ge
ss
GI; Witthaya Prasongsin/GI; Maciej Frolow/GI; Nitat Termmee/GI; Tim Grist Photography/GI; Javier
se
Lorado/GI; Sam Barnes/GI; VacharapongW/GI; Alistair Berg/GI; Lya_Cattel/GI; Jose Luis Pelaez Inc/
br
As
GI; Marko Geber/GI; Norman Posselt/GI; Traffic_analyzer/GI; Luis Alvarez/GI; Victor Habbick Visions/
am
Wedmakawand/GI; Ezra Bailey/GI; Donald Iain Smith/GI; Jonathan Kitchen/GI; Yuichiro Chino/
-C
ie
ve
Scratch is a project of the Scratch Foundation, in collaboration with the Lifelong Kindergarten Group
t
ev
Illustrations and photos showing the BBC Micro:bit are created and used with permission from the
R
ss
Screenshots from Microsoft Excel are used with permission from Microsoft
se
id
br
As
am
247
y
op
&
-C
C
es