Summative+Assessment+ +Programming+Essentials+in+Scratch +Part+II+ +Y7+(1)
Summative+Assessment+ +Programming+Essentials+in+Scratch +Part+II+ +Y7+(1)
Questions: Summative
assessment
Instructions
The next 20 questions will test your understanding of everything that you have
covered over the Year 7 programming units.
Sequencing
Q1. Which one of the following segments of code would be the most precise
block to use to draw a blue square in Scratch?
A B
C D
Q2. Would the following program correctly play the nursery rhyme, Hot Cross
Buns?
Variables
Q3. What would the output of Say ‘weather’ be at the end of this program?
A rain
B cloudy
D weather
Q4. What value would be held by the ‘name1’ variable and the ‘name2’ variable
at the end of this program?
Q5. What will be the output of this program when it is executed? (What will the
sprite say)?
A Good afternoon
C Good afternoon
How are you?
Q6. What will be the output of this program when it is executed? (What will the
sprite say)?
A Good afternoon
How are you?
C Good morning
Good afternoon
How are you?
D Good morning
How are you?
Q7. Which of the conditions would evaluate to ‘true’ with the following inputs?
A false
B true
C true
D false
Count-controlled iteration
Q8. Which of the following blocks of code would make the Scratch cat say “1, 2,
3” leaving a second in between each number?
A B
C D
Q9. What will be outputted (what will be said) when the following program is
executed?
Q10. What will be outputted (what will be said) when the following program is
executed?
Subroutines
A B
C D
Q12. A large program has been broken down into subroutines to make the
problem more manageable to solve. What is this process called?
Answer decomposision
Condition-controlled iteration
Q13. A learner has created the following piece of code to check if a password is
correct or not. They want to improve it so that it will only give a maximum of
three attempts before locking them out of the game for 60 seconds. What
programming construct should they use for this?
A A Forever loop
C A Repeat 3 loop
Q14. A learner has created the following block of code, when will the loop
terminate?
D Never
Q15. What will be the output of this program when it is executed? (What will the
sprite say?)
A Nothing
B 1, 2, 3, 4
C 1, 2, 3, 4, 5
D 1, 2, 3, 4, 5, 6
Q16. All of the blocks of code below will execute a countdown timer. Select the
most appropriate block for this purpose when using Scratch.
A B
C D
Lists
Q17. The following block of code was used to create a shopping list and then
replace a list item in ‘shopping_list’. Which item was replaced with ‘flour’?
Answer milk
Q18. What will be the output of this program when it is executed? (What will the
sprite say?)
Answer biscuit
Q19. What will be the output of this program when it is executed? (What will the
sprite say?)
Q20. A learner is using the Translate block to translate a list of words. What will
be the output of this program when it is executed? (What will the sprite say?)
[END OF TEST]
Resources are updated regularly — the latest version is available at: ncce.io/tcc.
This resource is licensed under the Open Government Licence, version 3. For more information on
this licence, see ncce.io/ogl.