← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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