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