← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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