← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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