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