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