← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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