← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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