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