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