← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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