← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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