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