← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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