← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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