← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

Electronics lesson 22: Input and output pins · Set 151 · 40 questions
TalentJR

Remember (Read in, drive out): Inputs: buttons, knobs, sensors. Outputs: LEDs, buzzers, motors, displays. Digital: HIGH (≈ 5 V) or LOW (0 V) only. Analog: any value in a range. Trace the program: only the LED’s own pin matters, and its last command decides ON or OFF.

NameDateTime takenScore ___ / 40
  1. 1.🔍 Which is the odd one out? (a) a servo motor (b) a light sensor (c) an LED (d) a water pump
  2. 2.True or false: “a tilt switch: on or off” is a digital signal. (a) True (b) False
  3. 3.📶 Digital or analog: how loud a sound is? (a) analog (b) digital
  4. 4.🔍 Which is the odd one out? (a) an LED (b) a water pump (c) a speaker (d) a motion sensor
  5. 5.True or false: “the room temperature” is a digital signal. (a) True (b) False
  6. 6.📶 Digital or analog: HIGH or LOW only? (a) digital (b) analog
  7. 7.📶 Digital or analog: how bright a room is? (a) digital (b) analog
  8. 8.Which of these is an output? (a) a sound sensor (b) a light sensor (c) a keypad (d) an LED
  9. 9.Which of these is an input? (a) a motor (b) a speaker (c) a keypad (d) a servo motor
  10. 10.📶 How many states can a digital pin have? (a) ten (b) a thousand (c) one (d) two
  11. 11.🔍 Which is the odd one out? (a) a speaker (b) a buzzer (c) a motor (d) a push button
  12. 12.📶 Digital or analog: a door: open or shut? (a) digital (b) analog
  13. 13.🔍 Which is the odd one out? (a) a light sensor (b) a temperature sensor (c) a buzzer (d) a push button
  14. 14.True or false: “how loud a sound is” is a digital signal. (a) False (b) True
  15. 15.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 LOW
    set pin 8 LOW
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  16. 16.🔌 Is a push button an input or an output for a microcontroller? (a) input (b) output
  17. 17.📶 Digital or analog: a knob turned part way? (a) digital (b) analog
  18. 18.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  19. 19.Which of these is an output? (a) a keypad (b) a sound sensor (c) a temperature sensor (d) a small display
  20. 20.🔌 Is a buzzer an input or an output for a microcontroller? (a) input (b) output
  21. 21.🔍 Which is the odd one out? (a) a turning knob (b) a keypad (c) a speaker (d) a sound sensor
  22. 22.🔌 Is a small display an input or an output for a microcontroller? (a) output (b) input
  23. 23.🔌 Is a light sensor an input or an output for a microcontroller? (a) output (b) input
  24. 24.True or false: “HIGH or LOW only” is an analog signal. (a) True (b) False
  25. 25.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 7 LOW
    set pin 8 HIGH
    set pin 8 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  26. 26.Which of these is an input? (a) a motion sensor (b) a motor (c) an LED (d) a small display
  27. 27.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 HIGH
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  28. 28.Which of these is an input? (a) an LED (b) a motor (c) a sound sensor (d) a buzzer
  29. 29.True or false: “a knob turned part way” is an analog signal. (a) False (b) True
  30. 30.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 LOW
    set pin 7 LOW
    set pin 7 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  31. 31.🔌 Is a temperature sensor an input or an output for a microcontroller? (a) output (b) input
  32. 32.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  33. 33.Which of these is an output? (a) a light sensor (b) a servo motor (c) a sound sensor (d) a push button
  34. 34.True or false: “how bright a room is” is an analog signal. (a) False (b) True
  35. 35.🔍 Which is the odd one out? (a) a push button (b) a light sensor (c) a temperature sensor (d) a motor
  36. 36.Which of these is an input? (a) an LED (b) a light sensor (c) a small display (d) a buzzer
  37. 37.🔍 Which is the odd one out? (a) an LED (b) a motor (c) a buzzer (d) a keypad
  38. 38.True or false: “how bright a room is” is a digital signal. (a) True (b) False
  39. 39.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 LOW
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  40. 40.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON

Answer key

  1. a light sensor
  2. True
  3. analog
  4. a motion sensor
  5. False
  6. digital
  7. analog
  8. an LED
  9. a keypad
  10. two
  11. a push button
  12. digital
  13. a buzzer
  14. False
  15. OFF
  16. input
  17. analog
  18. OFF
  19. a small display
  20. output
  21. a speaker
  22. output
  23. input
  24. False
  25. OFF
  26. a motion sensor
  27. OFF
  28. a sound sensor
  29. True
  30. OFF
  31. input
  32. OFF
  33. a servo motor
  34. True
  35. a motor
  36. a light sensor
  37. a keypad
  38. False
  39. ON
  40. OFF

Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids