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