← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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