← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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