← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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