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