← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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