← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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