← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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