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