← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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