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