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