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