← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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