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