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