← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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