← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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