← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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