← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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