← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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