← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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