← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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