← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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