← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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