← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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