← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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