← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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