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