← Input and output pins lesson New set β†’

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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