← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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