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