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