← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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