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