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