← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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