← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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