← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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