← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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