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