Prim Comp Lb4 Answers
Prim Comp Lb4 Answers
Unplugged activity 2
There is unnecessary repetition in the loop as each REPEAT FOREVER
instruction is shown twice.
A more concise algorithm diagram is:
The safety
The ride
harness is
starts
released
Start
The ride
stops
Clap
your
hands
Step to Step to
REPEAT FOREVER
the right the left
Jump up
and
down
Pentagon:
Circle:
Programming task 4
The program will create the pattern shown with
three squares.
Octagon: Programming task 5
There is no definitive answer to this task. Learners
should be encouraged to experiment and create
something unique. They should include a nested
count-controlled loop.
Programming task 1
REPEAT [answer]
1 Events
2 Sensing Clone the
sprite
3 Looks
4 Operators
5 Sensing
Programming task 2 Stop
Diagram:
Start
Ask
‘What is
your
name?’
Programming task 3
1 The program should ask the user how many
lines they want to draw and then draw that
many lines.
2 It will ask the user how many lines they want
to draw and then always draw 10 lines.
3 The bug is the number 10 in the count-
controlled loop. The 10 should be replaced by
an ‘answer’ block.
Programming task 4
Learners should debug the program with the result
that the ‘repeat’ block looks like this:
Programming task 5
1.7 Using input and output with a
Trigger What What Does this
should it
physical device
does it section
do? do? work Getting started
correctly?
1 Button B – C
(Yes or
No) 2 Battery connection – E
Programming task 4
The written algorithm is:
WHEN on start
1 Display happy face
WHEN on shake
1 Display sad face.
2 Pause for 1 second.
3 Display happy face.
The program is:
Questions
2 When button A is pressed, it will display an
arrow pointing towards the left for half a
second and then the arrow will disappear.
3 The trigger needs to be changed to WHEN Check your progress
button B pressed; the pattern of LEDs need 1 C: input
to change so they show an arrow pointing to
the right. 2 B: Control
3 a When the green flag is clicked, when the
space key is pressed, when the left arrow
is pressed and when the right arrow
is pressed
b When the green flag is clicked
c An indefinite loop is used to make the
sprite keep moving forever until the
program is stopped.
Advantages Disadvantages
2 Managing data It is easy to add things Heavy to
to the database move around
2.1 Collecting data Other people Paper can be
Getting started can look at the damaged easily
database quickly
Possible answers include but are not limited to: Easy to lose/misplace
Can be moved to a
• address You need a large
different place easily
• telephone number amount of storage
Easy to cross out or space to store paper
• email address erase things databases
• date of birth
• likes/dislikes.
Unplugged activity 7
Ensure that learners can justify their answers.
Unplugged activity 8
Possible questions could include:
34: How many times can you bounce a ball on a racket? How many books do you own?
Black: What is the colour of your hair? What is your favourite colour?
True: You are shorter than 180 cm. True or false? It is raining today. True or false?
Yellow: What is your favourite colour? What colour are bananas?
Spaghetti: What is your favourite food? What type of pasta is for lunch?
Beach: Do you prefer mountains or the beach? Where are you going on holiday?
Unplugged activity 9
Learners play a game of ‘Guess the information!’
Questions
2 Database A does not have headings telling you what the data is.
3 Database B is more useful because the headings show us what the data is about – they give meaning to
the data.
4 Database A shows only data.
5 Database B gives information.
6 No.
7 There are three teachers.
8 The highest test score is 10 and the lowest is 0.
3 Any two suitable answers, which could include: • Learners’ answers will vary but may include:
• needs some sort of power to send and receive messages; watch films;
find out information from websites.
• need special skills to design
• Learners may suggest answers such as: on
• may not be able to carry it around. the Web or on computers. They are stored on
4 Any suitable answers where learners can special computers known as servers, which
justify why they would use the chosen will be explored in this topic.
form type. Questions
• For example, for paper: 1 A web browser
• Sofia could hand the forms to friends 2 A search engine
to complete, which is easier.
3 Learners’ answers will vary. Accept any
• She wouldn’t need to get them to sensible answers that avoid misconceptions,
use a computer, which they may for example: the internet is a network of
find difficult. connected computers and makes it possible
• For example, for digital: for us to access the World Wide Web.
• She could ask people to complete the 4 Learners’ answers will vary. Accept any
form on a mobile device. sensible answers, for example: sharing of
data/films/emails/video, communicating with
• Paper forms may be damaged people around the world.
more easily.
5 Learners’ answers will vary, but may include:
5 Suitable answers:
Phone:
• to help prevent errors
• apps: chat programs, camera,
• easier for the person to fill in email, games
• keeps the answers organised. • files: photos, videos, text documents
6 Data is individual words, text or numbers. Computer:
It has no meaning. Information is data that
has meaning. • programs: email, word processor, games
8 There is one yellow car. 6 Learners’ answers will vary, but may include:
file storage, printing, internet access, email
9 Any two from: Car, Colour, Engine, Doors access, potentially a range of software as well
10 True
Activity 1
11 False
The poster should show some of the following
12 A record is another name for a row in server services and simple descriptions:
a database.
• Sharing documents/files: allows people to save
and download files from a different computer.
3 Networks and digital • Sending/receiving email: stores and sends
emails. The server keeps the emails safe
communication and allows people to check if they have
new messages.
3.1 Network structures • Storing databases: servers can store larger
databases. This lets lots of people access the
Getting started database at the same time.
• The internet is a really big network of devices • Storing web pages: all the web pages across
that are connected (computers, phones, the world are stored on servers so that millions
tablets, etc.) of people can access them.
• The World Wide Web is a collection of • Games: many servers allow people to store
web pages. and play games.
• Software: if you don’t have a piece of software Some devices could have both – for example, a
on your computer, you can buy it or rent it. laptop could have both a wired and a wireless
The software is often stored on a server. connection.
4 Wireless devices are likely to be carried around
Questions
more (for example, a mobile phone), or it
7 A client computer uses services from the may be difficult to get wires to the device (for
server. A client may not have all the programs example, the TV may be on the wall and away
or storage etc. that it needs. A server will from an internet connection point).
provide these to the client computer.
Wired connections will get faster internet
8 Services such as email, file storage or software. speeds on average – therefore things
that use the internet more often, or need
3.2 Efficient networks those faster speeds would benefit from a
wired connection.
Getting started
1 Greenwood Drive Ô West Avenue Ô
Unplugged activity 2
Central Station 1 Learners walk around the classroom or school
building, identifying network devices.
2 Yes, you can use the red and yellow lines to get
to Central Station: Greenwood Drive Ô West 2 Possible answers may include: printers,
Avenue Ô Royal Walk Ô Central Station computers, wi-fi hubs, televisions, laptops
3 More people will use the red and yellow lines 3 Answers will depend on school set-up
so they may become crowded and people 4 Learners’ answers will vary.
might not fit onto the trains. This will mean
their journey is delayed. It will not be possible 5 Learners’ answers will vary. Discussions
to get to Long Road station by train, because may include how easy it is to get wires to
only the blue line goes there. the device, and how often the device would
require use of the internet. Accept any
4 Learners’ answers will depend on the suitable argument.
stations chosen.
Questions
Questions
4 Local services may stop and workers may
1 There are other connections (routes) that can not be able to access the servers or save
be used. work. Workers may not be able to send and
2 No one will be able to use the network. receive emails.
3 The internet speed slows down, so it takes 5 Learners may describe feelings of frustration
longer to transfer data. Files may take longer and anger. They may also feel annoyed
to download, or videos might stop and start. because you have to do the homework again.
Unplugged activity 1 Unplugged activity 3
1 Items that could be connected to the internet: Learners’ answers will vary but may include:
TV, laptop, desktop computer, mobile phone,
• emails/messaging; some software/programs;
virtual assistant, games console, fridge/freezer
access to files, such as documents, photos
2, 3 and videos
Wired Wireless connection
connection • emails could stop working; may not be able to
use some software; may not be able to access
TV TV files, including school work files
desktop laptop • it would be annoying; may not be able to
computer start or finish some school work; might lose
mobile phone work if the connection failed when it hadn’t
games console been saved
virtual assistant
fridge/freezer (learners may write • back-up work regularly; work offline instead
Alexa, Siri, or a and then save to network.
different virtual
assistant)