← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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