← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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