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