← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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