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