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