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