← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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