← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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