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