← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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