← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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