← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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