← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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