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