← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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