← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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