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