← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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