← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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