← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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