← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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