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