← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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