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