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