← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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