You are on page 1of 8

COMPUTING

Name:

Class: Date:

Year 1
ing, part one
Introducing programm

Tick ONE box for your answer in


questions 1, 2, 3 and 4.

1 What is an algorithm?

A a clear set of instructions

B the things someone does

C a digital device

D a computer
1

1
2 These instructions show an exercise
routine:

• Stand like a star.

• Stand like a soldier.

• Touch your toes.

• Stand like a star.

• Stand like a soldier.

If you were following the exercise


routine, what should you do after
touching your toes?

A Sit on the floor.

B Stand like a soldier.

C Stand like a star.

D Touch your nose.


1

2
3 These instructions show how to play a
simple game.

1. Place your counter on the


start square.

2. Wait for your turn.

3. Say, ‘I will get a six.’

4. Roll the die.

5. Move the counter the


number of places you rolled.

6. If you reach the end first,


you win.

Which instruction is not needed to play


the game?

A Move the counter the


number of places you rolled.

B Place your counter on the


start square.

C Roll the die.

D Say, ‘I will get a six.’


1

3
4 These instructions show how to sort
some marbles between two children.

Take your favourite of the marbles in


the main pile.

Put your marble in front of you.

Wait for the other child to take their


favourite marble.

Repeat until there are no more


marbles.

How many steps are there?

A five

B four

C three

D two
1

4
5 This a simple device that can move
forward, turn left and turn right. It has
two yellow lights on the front.

A forward command would make it


move forward one space.

A right command would make it do a


quarter turn clockwise.

A left command would make it do a


quarter turn anti-clockwise.

5
a) The device needs to get to the end
of this course:

End

Start

(i) The device is given this


algorithm. One of the
instructions is a bug. Circle it.

forward

forward

right

forward
1

(ii) Write the instruction that


should replace it and debug
the algorithm.

6
b) The device needs to get to the end
of this course:

Start End

Write a set of instructions to get the


device from the start square to the end
square. Use only the words ‘forward’,
‘right’ and ‘left’.

7
Total for test = 8 marks

I got out of 8 marks

What went well

All text and images copyright Pearson Education


How to improve

You might also like