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