← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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