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