← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

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