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