← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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