← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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