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