← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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