1
Which microcontroller is used in the standard Arduino UNO board?
A. ATmega32u4
B. ATmega2560
C. ATmega328P
D. ATTiny85
Reveal Answer
Hide Answer
Correct Answer: ATmega328P
Explanation: The Arduino UNO is based on the ATmega328P microcontroller.
2
How many digital input/output pins are available on the Arduino UNO board?
Reveal Answer
Hide Answer
Correct Answer: 14
Explanation: The Arduino UNO has 14 digital I/O pins, numbered from 0 to 13.
3
What is the operating voltage of the Arduino UNO board?
A. 3.3V
B. 5V
C. 9V
D. 12V
Reveal Answer
Hide Answer
Correct Answer: 5V
Explanation: The logic level and operating voltage of the ATmega328P on the UNO is 5V.
4
Which symbol is used on the Arduino board to indicate pins capable of PWM output?
Reveal Answer
Hide Answer
Correct Answer: ~
Explanation: The tilde symbol (~) next to pins (like 3, 5, 6, 9, 10, 11) indicates Pulse Width Modulation (PWM) capability.
5
What is the function of the pin on the Arduino?
A. To provide a 3.3V output
B. To provide a 5V output
C. To ground the circuit
D. To supply external input voltage to the board
Reveal Answer
Hide Answer
Correct Answer: To supply external input voltage to the board
Explanation: The pin is used to supply an external voltage source (typically 7-12V) to power the board.
6
What is the resolution of the built-in Analog-to-Digital Converter (ADC) in Arduino UNO?
A. 8-bit
B. 10-bit
C. 12-bit
D. 16-bit
Reveal Answer
Hide Answer
Correct Answer: 10-bit
Explanation: The Arduino UNO ADC is 10-bit, meaning it maps input voltages between 0 and 5V into integer values between 0 and 1023.
7
Which pins are utilized for serial communication (UART) on the Arduino UNO?
A. Pins 2 and 3
B. Pins 0 (RX) and 1 (TX)
C. Pins 10 and 11
D. Pins A4 and A5
Reveal Answer
Hide Answer
Correct Answer: Pins 0 (RX) and 1 (TX)
Explanation: Digital pin 0 is RX (Receive) and pin 1 is TX (Transmit), used for serial communication.
8
What is the clock speed of the quartz crystal oscillator on the Arduino UNO?
A. 8 MHz
B. 16 MHz
C. 20 MHz
D. 48 MHz
Reveal Answer
Hide Answer
Correct Answer: 16 MHz
Explanation: The Arduino UNO operates at a clock speed of 16 MHz.
9
Which function is used to configure a specific pin as an input or output in Arduino code?
A. digitalWrite()
B. pinMode()
C. analogRead()
D. setup()
Reveal Answer
Hide Answer
Correct Answer: pinMode()
Explanation: The pinMode(pin, mode) function configures a specified pin to behave either as an input or an output.
10
A digital signal can have how many states?
A. Infinite
B. Two
C. Ten
D. Four
Reveal Answer
Hide Answer
Correct Answer: Two
Explanation: Digital signals are discrete and typically have two states: HIGH (1) and LOW (0).
11
Which of the following represents an analog signal?
A. A switch being ON or OFF
B. Temperature variation over time
C. Binary code
D. Logic gates output
Reveal Answer
Hide Answer
Correct Answer: Temperature variation over time
Explanation: Temperature varies continuously over time, making it an analog quantity, unlike discrete digital signals.
12
What is the range of values returned by the analogRead() function in Arduino?
A. 0 to 255
B. 0 to 1023
C. 0 to 1
D. -512 to 512
Reveal Answer
Hide Answer
Correct Answer: 0 to 1023
Explanation: Since the ADC is 10-bit ( ), the values range from 0 to 1023.
13
Which function is used to output an analog value (PWM) on a digital pin?
A. digitalWrite()
B. analogRead()
C. analogWrite()
D. pulseIn()
Reveal Answer
Hide Answer
Correct Answer: analogWrite()
Explanation: analogWrite() writes an analog value (PWM wave) to a pin. It is not a true analog output but simulates it using PWM.
14
What is the range of values used for the analogWrite() function (8-bit PWM)?
A. 0 to 1023
B. 0 to 255
C. 0 to 100
D. 1 to 10
Reveal Answer
Hide Answer
Correct Answer: 0 to 255
Explanation: Arduino's PWM is 8-bit, so analogWrite() accepts values from 0 (always off) to 255 (always on).
15
The Arduino UNO has how many analog input pins?
Reveal Answer
Hide Answer
Correct Answer: 6
Explanation: The UNO has 6 analog input pins, labeled A0 through A5.
16
In a 5V digital system, what voltage range is typically considered Logic HIGH?
A. 0V to 1.5V
B. 1.5V to 2.5V
C. 3V to 5V
D. -5V to 0V
Reveal Answer
Hide Answer
Correct Answer: 3V to 5V
Explanation: For 5V TTL/CMOS logic, voltages close to 5V (typically above 3V or 2.0V depending on specific logic family) are considered HIGH.
17
Which sensor uses sound waves to detect the distance of an object?
A. PIR Sensor
B. Ultrasonic Sensor
C. LDR
D. DHT11
Reveal Answer
Hide Answer
Correct Answer: Ultrasonic Sensor
Explanation: Ultrasonic sensors (like HC-SR04) emit ultrasonic sound waves and measure the echo return time to calculate distance.
18
What is the frequency of the sound wave typically emitted by the HC-SR04 ultrasonic sensor?
A. 20 Hz
B. 20 kHz
C. 40 kHz
D. 1 MHz
Reveal Answer
Hide Answer
Correct Answer: 40 kHz
Explanation: The HC-SR04 emits an ultrasound pulse at 40 kHz, which is above the human hearing range.
19
Which pins are present on the HC-SR04 ultrasonic sensor module?
A. VCC, GND, OUT
B. VCC, GND, SDA, SCL
C. VCC, Trig, Echo, GND
D. VCC, Data, GND
Reveal Answer
Hide Answer
Correct Answer: VCC, Trig, Echo, GND
Explanation: The HC-SR04 has 4 pins: VCC (Power), Trig (Trigger input), Echo (Echo output), and GND (Ground).
20
To initiate a measurement with the HC-SR04, the Trig pin must be held HIGH for at least how long?
A. 1 millisecond
B. 10 microseconds
C. 100 milliseconds
D. 1 second
Reveal Answer
Hide Answer
Correct Answer: 10 microseconds
Explanation: A high pulse of at least 10 microseconds ( ) is required on the Trig pin to start the sonic burst.
21
What is the correct formula to calculate distance ( ) using time ( ) and speed of sound ( ) for an ultrasonic sensor?
Reveal Answer
Hide Answer
Correct Answer:
Explanation: Since the sound travels to the object and back, the total distance traveled is double. Therefore, object distance is .
22
If the speed of sound is 340 m/s, what is it in cm/ s (centimeters per microsecond)?
A. 0.034 cm/ s
B. 340 cm/ s
C. 0.34 cm/ s
D. 34 cm/ s
Reveal Answer
Hide Answer
Correct Answer: 0.034 cm/ s
Explanation: .
23
What is the approximate maximum range of the HC-SR04 ultrasonic sensor?
A. 2 cm
B. 400 cm (4 meters)
C. 10 meters
D. 100 meters
Reveal Answer
Hide Answer
Correct Answer: 400 cm (4 meters)
Explanation: The operational range of the HC-SR04 is typically 2 cm to 400 cm.
24
In the DHT11 sensor, 'DHT' stands for:
A. Digital Heat Temperature
B. Digital Humidity and Temperature
C. Direct Humidity Tracker
D. Dual Hybrid Thermometer
Reveal Answer
Hide Answer
Correct Answer: Digital Humidity and Temperature
Explanation: DHT stands for Digital Humidity and Temperature sensor.
25
Which of the following is a key difference between DHT11 and DHT22?
A. DHT11 measures only temperature; DHT22 measures humidity.
B. DHT11 is analog; DHT22 is digital.
C. DHT22 has better accuracy and wider range than DHT11.
D. DHT11 uses I2C; DHT22 uses SPI.
Reveal Answer
Hide Answer
Correct Answer: DHT22 has better accuracy and wider range than DHT11.
Explanation: The DHT22 (AM2302) is more accurate and has a larger measuring range for both humidity and temperature compared to the DHT11.
26
What type of data signal does the DHT11 sensor output?
A. Continuous Analog Voltage
B. Single-wire Digital Signal
C. PWM Signal
D. Frequency Modulated Signal
Reveal Answer
Hide Answer
Correct Answer: Single-wire Digital Signal
Explanation: DHT sensors use a proprietary single-wire serial communication protocol.
27
What is the temperature measurement range of the DHT11 sensor?
A. -50 to 100 °C
B. 0 to 50 °C
C. -40 to 80 °C
D. 20 to 30 °C
Reveal Answer
Hide Answer
Correct Answer: 0 to 50 °C
Explanation: The DHT11 typically measures temperature from 0°C to 50°C.
28
How often can the DHT11 sensor be sampled (sampling rate)?
A. Once every 1 second (1 Hz)
B. Once every 10 seconds
C. 1000 times per second
D. Once every 2 seconds (0.5 Hz)
Reveal Answer
Hide Answer
Correct Answer: Once every 1 second (1 Hz)
Explanation: The DHT11 has a sampling rate of 1 Hz (one reading per second). The DHT22 is slower (every 2 seconds).
29
The humidity sensing component in a DHT11 is typically:
A. Resistive type
B. Inductive type
C. Capacitive type
D. Optical type
Reveal Answer
Hide Answer
Correct Answer: Resistive type
Explanation: The DHT11 typically uses a resistive humidity sensing component, while the DHT22 often uses a capacitive sensor.
30
Which library is commonly used in Arduino IDE to interface with DHT sensors?
A. Servo.h
B. LiquidCrystal.h
C. DHT.h
D. SPI.h
Reveal Answer
Hide Answer
Correct Answer: DHT.h
Explanation: The 'DHT.h' library (often by Adafruit) is the standard library for interfacing with DHT11 and DHT22.
31
An IR sensor module mainly consists of which two optical components?
A. LED and LDR
B. IR Transmitter (LED) and IR Receiver (Photodiode)
C. Laser and Mirror
D. Ultrasonic emitter and receiver
Reveal Answer
Hide Answer
Correct Answer: IR Transmitter (LED) and IR Receiver (Photodiode)
Explanation: An IR sensor uses an IR LED to emit light and a Photodiode to detect the reflected light.
32
What is the primary physical principle used by an IR obstacle sensor?
A. Refraction of light
B. Reflection of light
C. Diffraction of light
D. Speed of sound
Reveal Answer
Hide Answer
Correct Answer: Reflection of light
Explanation: The sensor works by emitting IR light and detecting if it is reflected back by an object.
33
In an IR sensor line follower application, how does a black surface affect IR light?
A. It reflects most of the IR light
B. It absorbs most of the IR light
C. It amplifies the IR light
D. It changes the frequency of IR light
Reveal Answer
Hide Answer
Correct Answer: It absorbs most of the IR light
Explanation: Black surfaces absorb IR light (low reflection), while white surfaces reflect it. This contrast allows line tracking.
34
In an IR sensor circuit, the photodiode is typically connected in which biasing mode?
A. Forward Bias
B. Reverse Bias
C. Zero Bias
D. Saturation Mode
Reveal Answer
Hide Answer
Correct Answer: Reverse Bias
Explanation: Photodiodes are connected in reverse bias; when light hits them, the leakage current increases significantly.
35
What component is used on an IR module to adjust the detection range/sensitivity?
A. Capacitor
B. Inductor
C. Potentiometer
D. Transistor
Reveal Answer
Hide Answer
Correct Answer: Potentiometer
Explanation: The onboard potentiometer allows the user to calibrate the threshold voltage for the comparator, adjusting sensitivity.
36
LDR stands for:
A. Light Diode Resistor
B. Light Dependent Resistor
C. Long Distance Resistor
D. Linear Digital Resistance
Reveal Answer
Hide Answer
Correct Answer: Light Dependent Resistor
Explanation: LDR is an acronym for Light Dependent Resistor.
37
What is the relationship between light intensity and the resistance of an LDR?
A. Directly proportional (More light = More resistance)
B. Inversely proportional (More light = Less resistance)
C. No relationship
D. Logarithmic increase
Reveal Answer
Hide Answer
Correct Answer: Inversely proportional (More light = Less resistance)
Explanation: As light intensity increases, the number of free charge carriers increases, decreasing the resistance of the LDR.
38
Which material is most commonly used to make an LDR?
A. Silicon
B. Germanium
C. Cadmium Sulphide (CdS)
D. Copper
Reveal Answer
Hide Answer
Correct Answer: Cadmium Sulphide (CdS)
Explanation: Cadmium Sulphide (CdS) is the standard photo-conductive material used in visible light LDRs.
39
In total darkness, the resistance of an LDR is:
A. Zero
B. Very Low (Few Ohms)
C. Very High (Mega Ohms)
D. Negative
Reveal Answer
Hide Answer
Correct Answer: Very High (Mega Ohms)
Explanation: In the absence of light (Dark Resistance), the resistance is very high, often in the range of Mega Ohms.
40
To use an LDR with an Arduino analog pin, it is usually connected in a circuit with:
A. A capacitor in series
B. A fixed resistor (Voltage Divider configuration)
C. A diode in parallel
D. Direct connection to 5V and Pin
Reveal Answer
Hide Answer
Correct Answer: A fixed resistor (Voltage Divider configuration)
Explanation: An LDR changes resistance, not voltage. A voltage divider with a fixed resistor is needed to convert the resistance change into a voltage change readable by the ADC.
41
Which application is best suited for an LDR?
A. Distance measurement
B. Automatic Street Light Controller
C. Temperature monitoring
D. Humidity control
Reveal Answer
Hide Answer
Correct Answer: Automatic Street Light Controller
Explanation: LDRs detect ambient light levels, making them ideal for automatically switching street lights on at dusk and off at dawn.
42
The spectral response of a CdS LDR is most similar to:
A. The human eye
B. UV radiation sensors
C. X-ray detectors
D. Radio receivers
Reveal Answer
Hide Answer
Correct Answer: The human eye
Explanation: CdS LDRs have a peak sensitivity that roughly matches the human eye's response to visible light.
43
What happens to the voltage at the analog pin if the LDR is connected between 5V and the pin, and a fixed resistor is connected between the pin and GND, when light intensity increases?
A. Voltage decreases
B. Voltage stays 0
C. Voltage increases
D. Voltage becomes negative
Reveal Answer
Hide Answer
Correct Answer: Voltage increases
Explanation: As light increases, LDR resistance decreases. In this divider configuration ( ), a smaller leads to a higher voltage at the pin.
44
Which component acts as the comparator in a digital IR sensor module?
A. LM358 or LM393
B. NE555
C. 7805
D. ATmega328
Reveal Answer
Hide Answer
Correct Answer: LM358 or LM393
Explanation: Op-Amps like LM358 or Comparators like LM393 are used to compare the photodiode voltage against a reference to produce a Digital High/Low output.
45
The Arduino function delay(1000) pauses the program for:
A. 1000 seconds
B. 1000 microseconds
C. 1000 milliseconds
D. 1000 clock cycles
Reveal Answer
Hide Answer
Correct Answer: 1000 milliseconds
Explanation: The delay() function parameter is in milliseconds. 1000 ms = 1 second.
46
On the Arduino UNO, the USB port is used for:
A. Uploading code only
B. Serial communication only
C. Power supply only
D. Uploading code, Serial communication, and Power supply
Reveal Answer
Hide Answer
Correct Answer: Uploading code, Serial communication, and Power supply
Explanation: The USB Type-B port serves all three purposes.
47
What is the typical supply current consumption of an HC-SR04 sensor during operation?
A. 15 mA
B. 500 mA
C. 1 A
D. 1 uA
Reveal Answer
Hide Answer
Correct Answer: 15 mA
Explanation: The HC-SR04 typically consumes about 15mA of current.
48
Which pin is used to reset the microcontroller on the Arduino board?
A. AREF
B. RESET
C. IOREF
D. 3.3V
Reveal Answer
Hide Answer
Correct Answer: RESET
Explanation: Pulling the RESET pin LOW resets the microcontroller.
49
For a DHT11 sensor, if the data cable length is very long (e.g., > 20m), what is required?
A. A pull-up resistor
B. A pull-down resistor
C. An amplifier
D. DHT11 cannot operate over 20m
Reveal Answer
Hide Answer
Correct Answer: A pull-up resistor
Explanation: A pull-up resistor (typically 4.7k - 10k ) is required on the data line, and signal integrity degrades over long distances, though DHT11 is generally not recommended for very long cable runs without buffering.
50
Which of the following is an active sensor?
A. LDR
B. Thermistor
C. Ultrasonic Sensor
D. Potentiometer
Reveal Answer
Hide Answer
Correct Answer: Ultrasonic Sensor
Explanation: An active sensor requires an external power source to operate and emits energy (ultrasonic waves) to scan the environment. LDRs and thermistors are passive transducers (change resistance).