← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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