← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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