← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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