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