← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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