← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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