← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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