← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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