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