← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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