← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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