← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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