← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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