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