← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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