← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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