← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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