← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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