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