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