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