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