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