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