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