← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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