← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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