← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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