← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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