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