← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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