← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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