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