← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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