← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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