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