← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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