← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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