← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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