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