← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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