← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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