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