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