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