← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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