← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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