← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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