← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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