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