← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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