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