← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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