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