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