← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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