← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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