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