← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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