← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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