← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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