← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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