← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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