← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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