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