← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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