← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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