← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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