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