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