← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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