← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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