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