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