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