← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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