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