← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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