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