← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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