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