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