← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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