← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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