Skip to content
Educator
KS3 Computer Science

Visual Programming (Scratch)

43 questions5 subtopics
Practise all 43 questions free →

What's covered

Blocks, Sprites and the Stage10
Loops and Conditionals in Scratch9
Broadcasts and Messages8
Events and Triggers8
Variables in Scratch8

Key facts

1

Blocks, Sprites and the Stage

The shape in Scratch that snaps to other lines of code is called a block.

2

Broadcasts and Messages

The broadcast () and wait block pauses the sending script until every receiving script has finished; the plain broadcast () block lets the sender continue immediately.

3

Events and Triggers

Code that runs in response to a user action is triggered by an event.

4

Loops and Conditionals in Scratch

A forever block does not stop after one run — it runs its contents endlessly.

5

Variables in Scratch

The change [score] by 1 block changes a variable's value by a given amount.

6

Blocks, Sprites and the Stage

Each sprite's blocks live in that sprite's own code (scripts) area.

7

Broadcasts and Messages

Scratch cannot limit where a broadcast goes: every script with a matching when I receive hat runs. Sending a message to just one sprite needs a workaround, such as a variable that each sprite checks.

8

Events and Triggers

An event in Scratch is something that triggers code to run.

9

Loops and Conditionals in Scratch

The forever block repeats the code inside it endlessly.

10

Variables in Scratch

The set [variable] to 0 block resets the variable's value to 0.

Sample questions

A taste of the 43 questions in this topic, answers marked. Sign up to practise the full set with spaced repetition.

1Blocks, Sprites and the Stage

How is code built in Scratch?

  • •By drawing arrows on the screen
  • •By recording audio commands
  • ✓By snapping blocks together
  • •By typing lines of text code
2Broadcasts and Messages

Which block receives a broadcast?

  • •Move 10 steps block always
  • •Wait 1 second block always
  • •When green flag clicked block
  • ✓When I receive (message) block
3Events and Triggers

What does 'When green flag clicked' do in Scratch?

  • •Broadcasts a message to other sprites
  • •Resets all variables to zero
  • ✓Starts the program running
  • •Stops all scripts immediately
4Loops and Conditionals in Scratch

Which block runs code a fixed number of times?

  • •Move 10 steps block
  • ✓Repeat 10 block
  • •Say hello block
  • •Wait 10 seconds block
5Variables in Scratch

Which block sets a variable's value?

  • •Move 10 steps block
  • •Say hello block
  • ✓Set score to 0 block
  • •Wait 1 second block
6Blocks, Sprites and the Stage

Where do the blocks for a sprite live?

  • •In the printer's paper tray
  • ✓In the sprite's code area
  • •In the system clock display only
  • •In the user's email account

Try it for four weeks. Free.

One school. Unlimited classes. No card limit. No teacher limit. If your students aren't practising daily by the end of the trial, you owe us nothing.

More KS3 Computer Science topics

📖 All KS3 Computer Science key terms & vocabulary →