← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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