← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

Electronics lesson 22: Input and output pins · Set 765 · 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.True or false: “how loud a sound is” is a digital signal. (a) True (b) False
  2. 2.True or false: “a tilt switch: on or off” is a digital signal. (a) False (b) True
  3. 3.Which of these is an input? (a) a speaker (b) a small display (c) a light sensor (d) a motor
  4. 4.🔍 Which is the odd one out? (a) a motor (b) an LED (c) a light sensor (d) a speaker
  5. 5.Which of these is an input? (a) a speaker (b) a motor (c) a small display (d) a motion sensor
  6. 6.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  7. 7.📶 A pin that reads a push button is set as … (a) an input (b) a battery (c) an output (d) a resistor
  8. 8.📶 Digital or analog: a door: open or shut? (a) analog (b) digital
  9. 9.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  10. 10.💡 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
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  11. 11.💡 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
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  12. 12.True or false: “how loud a sound is” is an analog signal. (a) True (b) False
  13. 13.True or false: “how bright a room is” is a digital signal. (a) False (b) True
  14. 14.🔌 Is a keypad an input or an output for a microcontroller? (a) output (b) input
  15. 15.📶 How many states can a digital pin have? (a) ten (b) one (c) a thousand (d) two
  16. 16.🔌 Is a turning knob an input or an output for a microcontroller? (a) input (b) output
  17. 17.True or false: “how bright a room is” is an analog signal. (a) True (b) False
  18. 18.📶 Digital or analog: many values in a range? (a) digital (b) analog
  19. 19.📶 Digital or analog: a knob turned part way? (a) analog (b) digital
  20. 20.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 HIGH
    set pin 7 HIGH
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  21. 21.🔍 Which is the odd one out? (a) a motion sensor (b) a speaker (c) a turning knob (d) a light sensor
  22. 22.📶 A pin set LOW gives about … (a) 5 V (b) 0 V (c) 1.5 V (d) 9 V
  23. 23.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 7 HIGH
    set pin 8 LOW
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  24. 24.🔍 Which is the odd one out? (a) a small display (b) a temperature sensor (c) a motor (d) an LED
  25. 25.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  26. 26.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  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 LOW
    set pin 8 HIGH
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  28. 28.📶 Digital or analog: the room temperature? (a) digital (b) analog
  29. 29.🔌 Is a push button an input or an output for a microcontroller? (a) input (b) output
  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 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  31. 31.🔍 Which is the odd one out? (a) a small display (b) an LED (c) a turning knob (d) a speaker
  32. 32.Which of these is an input? (a) a water pump (b) a turning knob (c) a motor (d) a buzzer
  33. 33.True or false: “a door: open or shut” is an analog signal. (a) False (b) True
  34. 34.🔌 Is a servo motor an input or an output for a microcontroller? (a) input (b) output
  35. 35.🔌 Is a temperature sensor an input or an output for a microcontroller? (a) output (b) input
  36. 36.📶 Digital or analog: how bright a room is? (a) analog (b) digital
  37. 37.True or false: “HIGH or LOW only” is a digital signal. (a) False (b) True
  38. 38.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 7 HIGH
    set pin 8 HIGH
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  39. 39.📶 Digital or analog: HIGH or LOW only? (a) analog (b) digital
  40. 40.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 LOW
    set pin 7 LOW
    set pin 8 HIGH
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON

Answer key

  1. False
  2. True
  3. a light sensor
  4. a light sensor
  5. a motion sensor
  6. OFF
  7. an input
  8. digital
  9. OFF
  10. ON
  11. OFF
  12. True
  13. False
  14. input
  15. two
  16. input
  17. True
  18. analog
  19. analog
  20. ON
  21. a speaker
  22. 0 V
  23. OFF
  24. a temperature sensor
  25. OFF
  26. ON
  27. ON
  28. analog
  29. input
  30. OFF
  31. a turning knob
  32. a turning knob
  33. False
  34. output
  35. input
  36. analog
  37. True
  38. ON
  39. digital
  40. ON

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