← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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