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