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