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