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