← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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