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