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