← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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