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