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