← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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