← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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