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