← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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