← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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