← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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