← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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