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