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