← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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