← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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