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