← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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