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