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