← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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