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