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