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