← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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