← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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