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