← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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