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