← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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