← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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