← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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