← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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