← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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