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