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