← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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