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