← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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