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