← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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