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