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