← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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