← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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