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