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