← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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