← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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