← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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