← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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