← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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