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