← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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