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