← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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