← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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