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