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