← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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