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