← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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