← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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