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