← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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