← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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