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