← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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