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