← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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