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