← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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