← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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