← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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