← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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