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