← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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