← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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