← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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