Electronics Worksheet: Input and Output Pins
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.πΆ Digital or analog: how loud a sound is? (a) digital (b) analog
- 2.Which of these is an output? (a) an LED (b) a motion sensor (c) a turning knob (d) a push button
- 3.Which of these is an input? (a) a motor (b) a buzzer (c) a push button (d) a water pump
- 4.πΆ Digital or analog: a door: open or shut? (a) digital (b) analog
- 5.True or false: βmany values in a rangeβ is a digital signal. (a) False (b) True
- 6.True or false: βa tilt switch: on or offβ is a digital signal. (a) False (b) True
- 7.Which of these is an input? (a) a buzzer (b) an LED (c) a water pump (d) a turning knob
-
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.True or false: βa button: pressed or notβ is an analog signal. (a) True (b) False
- 10.π Which is the odd one out? (a) a sound sensor (b) a light sensor (c) a small display (d) a motion sensor
- 11.π Is an LED an input or an output for a microcontroller? (a) input (b) output
- 12.πΆ A pin that reads a push button is set as β¦ (a) a resistor (b) an output (c) an input (d) a battery
- 13.πΆ Digital or analog: a button: pressed or not? (a) analog (b) digital
- 14.Which of these is an output? (a) a light sensor (b) a temperature sensor (c) a buzzer (d) a motion sensor
-
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.π‘ 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.πΆ On a 5 V board, a pin set HIGH gives about β¦ (a) 0 V (b) 5 V (c) 50 V (d) 230 V
- 18.πΆ Digital or analog: a knob turned part way? (a) analog (b) digital
- 19.π Is a sound sensor an input or an output for a microcontroller? (a) output (b) input
-
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.πΆ Digital or analog: the room temperature? (a) digital (b) analog
- 22.Which of these is an output? (a) a turning knob (b) a light sensor (c) a keypad (d) a servo motor
- 23.Which of these is an output? (a) a sound sensor (b) a turning knob (c) a water pump (d) a keypad
- 24.πΆ Digital or analog: many values in a range? (a) analog (b) digital
- 25.True or false: βhow bright a room isβ is a digital signal. (a) True (b) False
-
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.Which of these is an input? (a) a light sensor (b) a servo motor (c) an LED (d) a motor
- 28.True or false: βa door: open or shutβ is an analog signal. (a) False (b) True
-
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.π Is a buzzer an input or an output for a microcontroller? (a) input (b) output
-
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.π Is a servo motor an input or an output for a microcontroller? (a) output (b) input
- 33.True or false: βa button: pressed or notβ is a digital signal. (a) False (b) True
- 34.π Is a motion sensor an input or an output for a microcontroller? (a) output (b) input
-
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.π Is a water pump an input or an output for a microcontroller? (a) output (b) input
- 37.Which of these is an output? (a) a motion sensor (b) a light sensor (c) a motor (d) a keypad
-
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.π Is a keypad an input or an output for a microcontroller? (a) input (b) output
- 40.Which of these is an output? (a) a light sensor (b) a temperature sensor (c) a small display (d) a keypad
Answer key
- analog
- an LED
- a push button
- digital
- False
- True
- a turning knob
- OFF
- False
- a small display
- output
- an input
- digital
- a buzzer
- ON
- OFF
- 5 V
- analog
- input
- ON
- analog
- a servo motor
- a water pump
- analog
- False
- OFF
- a light sensor
- False
- ON
- output
- ON
- output
- True
- input
- ON
- output
- a motor
- ON
- input
- a small display
Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids