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