← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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