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