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 sprite (b) a folder (c) a cursor (d) a pixel
- 2.Which of these is a loop block? (a) if the key is down (b) if score is 10 (c) repeat forever (d) when the program starts
- 3.Which of these is a loop block? (a) if the key is down (b) if touching the wall (c) repeat until done (d) move 10 steps
- 4.🧱 What kind of block is “if the key is down”? (a) a motion block (b) an event block (c) a loop block (d) an if block
- 5.🧱 A sprite runs: repeat 4 times [ repeat 4 times [ play a drum beat ] ]. How many drum beats are played?
- 6.🧱 What kind of block is “if touching the wall”? (a) a loop block (b) an if block (c) an event block (d) a motion block
- 7.🔍 Which is the odd one out? (a) when sprite is clicked (b) when the program starts (c) when a key is pressed (d) play a drum beat
- 8.🔍 Which is the odd one out? (a) if the key is down (b) if touching the wall (c) set volume to 50% (d) if score is 10
- 9.🧱 What kind of block is “repeat forever”? (a) a loop block (b) an if block (c) a sound block (d) a motion block
- 10.🧱 A sprite runs: repeat 5 times [ repeat 2 times [ play a drum beat ] ]. How many drum beats are played?
- 11.🔁 Which block repeats steps again and again? (a) an event block (b) a loop block (c) a motion block (d) a sound block
- 12.🔍 Which is the odd one out? (a) repeat until done (b) repeat 4 times (c) repeat forever (d) when sprite is clicked
- 13.Which of these is an event block? (a) set volume to 50% (b) if the key is down (c) when sprite is clicked (d) repeat 4 times
- 14.Which of these is an if block? (a) repeat until done (b) set volume to 50% (c) move 10 steps (d) if touching the wall
- 15.🧱 What kind of block is “when sprite is clicked”? (a) a motion block (b) an if block (c) an event block (d) a sound block
- 16.🧱 In block coding, we join blocks like ___. (a) ice cubes (b) wet clay (c) jigsaw puzzle pieces (d) sand
- 17.🧱 A sprite draws a shape: repeat 12 times [ move 50 steps, turn 30 degrees ]. How many sides does the shape have?
- 18.Which of these is a motion block? (a) play a drum beat (b) turn right 90 degrees (c) repeat 4 times (d) when the program starts
- 19.🧱 What kind of block is “when a key is pressed”? (a) an event block (b) a sound block (c) a motion block (d) an if block
- 20.🔍 Which is the odd one out? (a) turn right 90 degrees (b) repeat 4 times (c) glide to the edge (d) move 10 steps
- 21.🧱 A sprite draws a shape: repeat 8 times [ move 50 steps, turn 45 degrees ]. How many sides does the shape have?
- 22.🧱 What kind of block is “repeat 4 times”? (a) a motion block (b) a sound block (c) a loop block (d) an event block
- 23.🧱 A sprite runs: repeat 5 times [ move 30 steps ]. How many steps does it move in all?
- 24.🧱 A sprite runs: repeat 6 times [ move 20 steps ]. How many steps does it move in all?
- 25.Which of these is a motion block? (a) repeat until done (b) move 10 steps (c) set volume to 50% (d) when the program starts
- 26.🧱 A sprite draws a shape: repeat 4 times [ move 50 steps, turn 90 degrees ]. How many sides does the shape have?
- 27.🧱 A sprite runs: repeat 3 times [ move 5 steps ]. How many steps does it move in all?
- 28.🔍 Which is the odd one out? (a) if score is 10 (b) if the key is down (c) if touching the wall (d) play a beep
- 29.🧱 What kind of block is “if score is 10”? (a) a loop block (b) a motion block (c) an if block (d) an event block
- 30.🧱 What kind of block is “repeat until done”? (a) a sound block (b) a loop block (c) a motion block (d) an event block
- 31.Which of these is a motion block? (a) when sprite is clicked (b) when a key is pressed (c) glide to the edge (d) if the key is down
- 32.🔍 Which is the odd one out? (a) if the key is down (b) if score is 10 (c) move 10 steps (d) if touching the wall
- 33.Which of these is an if block? (a) turn right 90 degrees (b) glide to the edge (c) if score is 10 (d) play a drum beat
- 34.🧱 A sprite runs: repeat 10 times [ move 15 steps ]. How many steps does it move in all?
- 35.🧱 What kind of block is “move 10 steps”? (a) an if block (b) a motion block (c) a sound block (d) a loop block
- 36.🧱 What kind of block is “play a beep”? (a) an event block (b) an if block (c) a motion block (d) a sound block
- 37.🧱 A sprite runs: repeat 2 times [ repeat 2 times [ play a drum beat ] ]. How many drum beats are played?
- 38.Which of these is an event block? (a) play a beep (b) if score is 10 (c) glide to the edge (d) when a key is pressed
- 39.🧱 A sprite runs: repeat 4 times [ move 5 steps ]. How many steps does it move in all?
- 40.🧱 A sprite runs: repeat 9 times [ move 50 steps ]. How many steps does it move in all?
Answer key
- a sprite
- repeat forever
- repeat until done
- an if block
- 16
- an if block
- play a drum beat
- set volume to 50%
- a loop block
- 10
- a loop block
- when sprite is clicked
- when sprite is clicked
- if touching the wall
- an event block
- jigsaw puzzle pieces
- 12
- turn right 90 degrees
- an event block
- repeat 4 times
- 8
- a loop block
- 150
- 120
- move 10 steps
- 4
- 15
- play a beep
- an if block
- a loop block
- glide to the edge
- move 10 steps
- if score is 10
- 150
- a motion block
- a sound block
- 4
- when a key is pressed
- 20
- 450
Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets