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