← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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