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