← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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