← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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