← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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