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