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