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