← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

  1. 12
  2. an event block
  3. repeat 4 times
  4. play a drum beat
  5. 6
  6. an if block
  7. if score is 10
  8. repeat until done
  9. a sprite
  10. move 10 steps
  11. jigsaw puzzle pieces
  12. when a key is pressed
  13. move 10 steps
  14. 6
  15. 45
  16. a loop block
  17. when sprite is clicked
  18. a loop block
  19. if touching the wall
  20. repeat 4 times
  21. 105
  22. if score is 10
  23. 120
  24. repeat forever
  25. 4
  26. a sound block
  27. 4
  28. repeat until done
  29. when a key is pressed
  30. an event block
  31. glide to the edge
  32. 10
  33. 9
  34. if the key is down
  35. when sprite is clicked
  36. 450
  37. repeat forever
  38. if touching the wall
  39. a motion block
  40. 20

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