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