← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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