← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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