← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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