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