← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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