← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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