← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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