← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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