← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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