← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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