← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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