← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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