← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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