← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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