← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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