← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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