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