← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

  1. 6
  2. 150
  3. 10
  4. 12
  5. a motion block
  6. a motion block
  7. repeat forever
  8. 45
  9. repeat until done
  10. a motion block
  11. a sound block
  12. 6
  13. a sound block
  14. repeat forever
  15. turn right 90 degrees
  16. a sprite
  17. 40
  18. if the key is down
  19. when a key is pressed
  20. a sound block
  21. repeat 4 times
  22. jigsaw puzzle pieces
  23. a loop block
  24. 400
  25. a loop block
  26. repeat 4 times
  27. play a drum beat
  28. play a beep
  29. when a key is pressed
  30. when sprite is clicked
  31. when sprite is clicked
  32. play a drum beat
  33. an if block
  34. 16
  35. 10
  36. if score is 10
  37. an if block
  38. if the key is down
  39. a loop block
  40. 200

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