← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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