← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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