← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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