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