← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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