← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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