← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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