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