← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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