← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

Computer lesson 27: Block coding basics · Set 35 · 40 questions
TalentJR

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

Answer key

  1. jigsaw puzzle pieces
  2. if touching the wall
  3. if the key is down
  4. 9
  5. 30
  6. a loop block
  7. a sprite
  8. turn right 90 degrees
  9. an event block
  10. 280
  11. a sound block
  12. repeat forever
  13. glide to the edge
  14. if score is 10
  15. 20
  16. play a beep
  17. when sprite is clicked
  18. a loop block
  19. 200
  20. an if block
  21. repeat forever
  22. set volume to 50%
  23. 8
  24. a loop block
  25. set volume to 50%
  26. a loop block
  27. a sound block
  28. a motion block
  29. 4
  30. 12
  31. repeat until done
  32. an event block
  33. a motion block
  34. glide to the edge
  35. a sound block
  36. 100
  37. when a key is pressed
  38. when sprite is clicked
  39. if the key is down
  40. 135

Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets