← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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