← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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