← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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