← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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