← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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