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