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