← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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