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