← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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