← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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