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