← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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