← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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