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