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