← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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