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