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