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