← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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