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