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