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