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