← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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