← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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