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