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