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