Class 5 Computer Worksheet: Block Coding
Remember (Times × amount): Event = when something happens; motion = move or turn; sound = play a sound; if = check a condition. A loop repeats the blocks inside it: total = times × amount. repeat N times [move, turn 360 ÷ N degrees] draws a shape with N sides.
NameDateTime takenScore ___ / 40
- 1.🐱 What do we call a character that moves on the stage in block coding? (a) a cursor (b) a folder (c) a pixel (d) a sprite
- 2.Which of these is an event block? (a) play a drum beat (b) repeat 4 times (c) repeat until done (d) when sprite is clicked
- 3.🧱 What kind of block is “repeat until done”? (a) a loop block (b) a motion block (c) an if block (d) an event block
- 4.Which of these is an if block? (a) play a drum beat (b) if the key is down (c) repeat forever (d) when sprite is clicked
- 5.🔁 Which block repeats steps again and again? (a) a loop block (b) an event block (c) a sound block (d) a motion block
- 6.🧱 A sprite draws a shape: repeat 6 times [ move 50 steps, turn 60 degrees ]. How many sides does the shape have?
- 7.🧱 In block coding, we join blocks like ___. (a) sand (b) ice cubes (c) wet clay (d) jigsaw puzzle pieces
- 8.🔍 Which is the odd one out? (a) repeat until done (b) play a beep (c) play a drum beat (d) set volume to 50%
- 9.🔍 Which is the odd one out? (a) repeat forever (b) if score is 10 (c) repeat until done (d) repeat 4 times
- 10.🔍 Which is the odd one out? (a) when a key is pressed (b) when sprite is clicked (c) when the program starts (d) if the key is down
- 11.Which of these is an event block? (a) play a drum beat (b) when a key is pressed (c) repeat until done (d) repeat forever
- 12.🧱 A sprite runs: repeat 4 times [ move 40 steps ]. How many steps does it move in all?
- 13.🧱 What kind of block is “when sprite is clicked”? (a) a loop block (b) an event block (c) a motion block (d) an if block
- 14.🔍 Which is the odd one out? (a) when sprite is clicked (b) when the program starts (c) play a drum beat (d) when a key is pressed
- 15.🧱 A sprite draws a shape: repeat 5 times [ move 50 steps, turn 72 degrees ]. How many sides does the shape have?
- 16.🧱 A sprite draws a shape: repeat 4 times [ move 50 steps, turn 90 degrees ]. How many sides does the shape have?
- 17.🔍 Which is the odd one out? (a) repeat 4 times (b) if touching the wall (c) if the key is down (d) if score is 10
- 18.🧱 What kind of block is “play a beep”? (a) an event block (b) a loop block (c) an if block (d) a sound block
- 19.🧱 A sprite runs: repeat 8 times [ move 35 steps ]. How many steps does it move in all?
- 20.Which of these is a sound block? (a) if score is 10 (b) play a drum beat (c) repeat 4 times (d) if touching the wall
- 21.🧱 What kind of block is “if touching the wall”? (a) a motion block (b) an if block (c) an event block (d) a loop block
- 22.Which of these is a motion block? (a) move 10 steps (b) if the key is down (c) set volume to 50% (d) repeat 4 times
- 23.🧱 What kind of block is “set volume to 50%”? (a) an event block (b) a sound block (c) a loop block (d) an if block
- 24.🧱 What kind of block is “if the key is down”? (a) a sound block (b) an if block (c) a loop block (d) a motion block
- 25.🔍 Which is the odd one out? (a) turn right 90 degrees (b) glide to the edge (c) move 10 steps (d) set volume to 50%
- 26.Which of these is a sound block? (a) repeat 4 times (b) play a beep (c) repeat until done (d) repeat forever
- 27.Which of these is an if block? (a) play a drum beat (b) repeat forever (c) if score is 10 (d) repeat 4 times
- 28.🧱 A sprite draws a shape: repeat 12 times [ move 50 steps, turn 30 degrees ]. How many sides does the shape have?
- 29.🔍 Which is the odd one out? (a) when a key is pressed (b) when the program starts (c) when sprite is clicked (d) play a beep
- 30.Which of these is an if block? (a) repeat until done (b) if touching the wall (c) repeat forever (d) when sprite is clicked
- 31.🔍 Which is the odd one out? (a) turn right 90 degrees (b) when a key is pressed (c) move 10 steps (d) glide to the edge
- 32.Which of these is a loop block? (a) when a key is pressed (b) if score is 10 (c) glide to the edge (d) repeat until done
- 33.🧱 A sprite draws a shape: repeat 9 times [ move 50 steps, turn 40 degrees ]. How many sides does the shape have?
- 34.🧱 What kind of block is “when a key is pressed”? (a) a loop block (b) an event block (c) a sound block (d) an if block
- 35.🔍 Which is the odd one out? (a) repeat forever (b) play a beep (c) set volume to 50% (d) play a drum beat
- 36.Which of these is a motion block? (a) turn right 90 degrees (b) when the program starts (c) repeat until done (d) repeat 4 times
- 37.🧱 What kind of block is “repeat 4 times”? (a) a motion block (b) an if block (c) a loop block (d) an event block
- 38.🧱 A sprite runs: repeat 3 times [ repeat 2 times [ play a drum beat ] ]. How many drum beats are played?
- 39.🔍 Which is the odd one out? (a) glide to the edge (b) when the program starts (c) when a key is pressed (d) when sprite is clicked
- 40.🧱 A sprite runs: repeat 2 times [ move 15 steps ]. How many steps does it move in all?
Answer key
- a sprite
- when sprite is clicked
- a loop block
- if the key is down
- a loop block
- 6
- jigsaw puzzle pieces
- repeat until done
- if score is 10
- if the key is down
- when a key is pressed
- 160
- an event block
- play a drum beat
- 5
- 4
- repeat 4 times
- a sound block
- 280
- play a drum beat
- an if block
- move 10 steps
- a sound block
- an if block
- set volume to 50%
- play a beep
- if score is 10
- 12
- play a beep
- if touching the wall
- when a key is pressed
- repeat until done
- 9
- an event block
- repeat forever
- turn right 90 degrees
- a loop block
- 6
- glide to the edge
- 30
Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets