← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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