← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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