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