← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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