← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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