← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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