← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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