← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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