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