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