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