← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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