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