← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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