← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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