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