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