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