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