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