← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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