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