← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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