← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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