0% found this document useful (0 votes)
5 views3 pages

Worksheet Answers

The document provides a worksheet focused on understanding and using loops in the Scratch project 'Dancing dinosaurs.' It includes tasks for comparing different types of loops based on the actions of dinosaurs and instructions for modifying the dinosaur code to implement specific looping behaviors. The document emphasizes the practical application of loops in programming through interactive examples.

Uploaded by

Sondos Alzohairy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Worksheet Answers

The document provides a worksheet focused on understanding and using loops in the Scratch project 'Dancing dinosaurs.' It includes tasks for comparing different types of loops based on the actions of dinosaurs and instructions for modifying the dinosaur code to implement specific looping behaviors. The document emphasizes the practical application of loops in programming through interactive examples.

Uploaded by

Sondos Alzohairy
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Answers Worksheet

Types of loops

Task A: Compare two types of loops

Open the project ‘Dancing dinosaurs’: [Link]/dinos

Trigger the sequences to run by clicking on them.

Actions the dinosaur is performing:


looking left and right

How many times does it repeat the actions?


two times

Actions the dinosaur is performing:


changing costumes, so it looks like it is moving

How many times does it repeat the actions?


forever

Actions the dinosaur is performing:


jumping up and down
changing colour

How many times does it repeat the actions?


jumping up and down: forever
changing colour: 3 times

All images: Scratch is a project of the Scratch Foundation. It is available for free at [Link] 1

v3.0
Answers Types of loops Worksheet

Task B: Use loops for a purpose

Open the project ‘Dancing dinosaurs’ [Link]/dinos.

Modify the dinosaur code:

1) The green dinosaur should keep looking left and right, but it
stops after a few times. It should look left and right
continuously while the program is running.

2) The red dinosaur should change colour as it jumps, waiting one


second between changes. It should do this continuously.

All images: Scratch is a project of the Scratch Foundation. It is available for free at [Link] 2
Answers Types of loops Worksheet

3) The blue dinosaur should change its costume 10 times then


stop.

Open the project ‘Dancing dinosaurs feedback’:


[Link]/dinos-example

All images: Scratch is a project of the Scratch Foundation. It is available for free at [Link]

© Oak National Academy 2025. Produced in partnership with The Raspberry Pi Foundation.
3
Licensed on the Open Government Licence v3.0, except where otherwise stated. See Oak terms & conditions.

You might also like