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