← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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