Sunlight includes infrared radiation that can reach or saturate the receiver, causing interference and false detections.
Incorrect! Try again.
33An LDR is connected to and a fixed resistor is connected from the output node to GND. What happens to the output voltage when light intensity increases?
LDR
Medium
A.It alternates between HIGH and LOW
B.It decreases toward
C.It remains fixed at
D.It increases toward
Correct Answer: It increases toward
Explanation:
More light decreases the LDR resistance. In this divider, , so the output voltage increases.
Incorrect! Try again.
34An LDR of is connected to , and a resistor connects the output node to GND. What is the output voltage?
LDR
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The two resistances are equal, so the voltage divider produces half the supply voltage: .
Incorrect! Try again.
35A streetlight controlled by an LDR switches rapidly on and off near twilight. Which modification best reduces this behavior?
LDR
Medium
A.Connect the LDR directly to GND
B.Add hysteresis to the switching thresholds
C.Remove the fixed divider resistor
D.Increase the serial baud rate
Correct Answer: Add hysteresis to the switching thresholds
Explanation:
Hysteresis uses separate turn-on and turn-off thresholds, preventing small light fluctuations from repeatedly changing the output state.
Incorrect! Try again.
36An ultrasonic sensor measures a round-trip echo time of . Taking the speed of sound as , how far away is the object?
Basic principle of ultrasonic sensor
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The pulse travels to the object and back, so .
Incorrect! Try again.
37Why is the measured echo travel distance divided by two when calculating object distance?
Basic principle of ultrasonic sensor
Medium
A.The receiver measures twice the sound speed
B.The sensor uses two independent timers
C.The pulse travels to the object and back
D.The trigger pulse contains two equal waves
Correct Answer: The pulse travels to the object and back
Explanation:
The measured time covers the complete round trip. The one-way distance to the object is therefore half the total traveled distance.
Incorrect! Try again.
38An ultrasonic sensor gives unstable readings from a smooth wall placed at a steep angle. What is the most likely cause?
Basic principle of ultrasonic sensor
Medium
A.The wall increases the speed of sound
B.The echo reflects away from the receiver
C.The trigger pin becomes an analog input
D.The echo pulse changes into visible light
Correct Answer: The echo reflects away from the receiver
Explanation:
A smooth angled surface can reflect the ultrasonic wave away from the sensor, producing a weak or missing echo.
Incorrect! Try again.
39A project must measure temperatures below with better resolution. Which sensor is generally more suitable?
Temperature sensor (DHT11/DHT22)
Medium
A.DHT11
B.DHT22
C.Digital IR obstacle sensor
D.LDR
Correct Answer: DHT22
Explanation:
The DHT22 has a wider temperature range and better resolution than the DHT11, including support for measurements below .
Incorrect! Try again.
40A DHT sensor occasionally returns invalid checksum errors when read in a fast loop. Which change is most appropriate?
Temperature sensor (DHT11/DHT22)
Medium
A.Increase the interval between readings
B.Replace GND with an analog pin
C.Apply PWM to the data pin
D.Reduce the serial monitor width
Correct Answer: Increase the interval between readings
Explanation:
DHT sensors have limited sampling rates. Allowing sufficient time between readings helps prevent incomplete data and checksum errors.
Incorrect! Try again.
41An Arduino Uno reads an analog sensor using its 10-bit ADC with a 5 V reference. If the input is 3.72 V, what digital value is expected most closely, assuming ideal conversion?
Analog and digital signals
Hard
A.713
B.762
C.819
D.931
Correct Answer: 762
Explanation:
The ADC value is approximately , which rounds to about 762.
Incorrect! Try again.
42A slowly varying analog signal is sampled at 800 Hz. The signal contains a desired component at 120 Hz and an unwanted component at 510 Hz. What will most likely be observed after sampling if no anti-aliasing filter is used?
Analog and digital signals
Hard
A.The 510 Hz component appears near 290 Hz
B.The 120 Hz component shifts near 280 Hz
C.The 510 Hz component disappears completely
D.The 510 Hz component appears near 400 Hz
Correct Answer: The 510 Hz component appears near 290 Hz
Explanation:
The Nyquist frequency is 400 Hz. A 510 Hz component aliases to Hz.
Incorrect! Try again.
43An Arduino digital input has a HIGH threshold of approximately 3 V and a LOW threshold of approximately 1.5 V. A slowly changing sensor output remains at 2.2 V for several seconds. How should this input state be classified?
Analog and digital signals
Hard
A.Alternating because the ADC samples it periodically
B.Guaranteed HIGH because it exceeds 1.5 V
C.Undefined because it lies between the thresholds
D.Guaranteed LOW because it is below 2.5 V
Correct Answer: Undefined because it lies between the thresholds
Explanation:
Voltages between the specified LOW and HIGH thresholds are in the undefined region. The digital input may be read inconsistently and can be noise-sensitive.
Incorrect! Try again.
44A 10-bit ADC uses a 2.56 V reference. What is the smallest ideal input-voltage change that can produce a one-count change in the conversion result?
Analog and digital signals
Hard
A.2.50 mV
B.0.25 mV
C.1.00 mV
D.25.6 mV
Correct Answer: 2.50 mV
Explanation:
One ADC count corresponds approximately to mV.
Incorrect! Try again.
45On an Arduino Uno, a sketch uses analogWrite(9, 128) to control LED brightness. Which statement best describes the generated signal?
Arduino board (pin configuration and description)
Hard
A.A 5 V PWM waveform with about 50% duty cycle
B.A 2.5 V constant analog output
C.A variable-frequency waveform with 2.5 V amplitude
D.A 128-level digital signal at 128 Hz
Correct Answer: A 5 V PWM waveform with about 50% duty cycle
Explanation:
On Uno PWM-capable pin 9, analogWrite(128) produces a digital waveform whose duty cycle is approximately , or 50%, rather than a true analog voltage.
Incorrect! Try again.
46An Arduino Uno circuit requires SPI communication with a peripheral. Which pin assignment is correct for the hardware SPI interface?
Arduino board (pin configuration and description)
Hard
A.MOSI 0, MISO 1, SCK 2, SS 3
B.MOSI 11, MISO 12, SCK 13, SS 10
C.MOSI A0, MISO A1, SCK A2, SS A3
D.MOSI 10, MISO 11, SCK 12, SS 13
Correct Answer: MOSI 11, MISO 12, SCK 13, SS 10
Explanation:
For the Arduino Uno, hardware SPI uses D11 for MOSI, D12 for MISO, D13 for SCK, and commonly D10 for the slave-select line.
Incorrect! Try again.
47A circuit drives an external 5 V signal into Arduino Uno pin 2 and also connects the signal source ground to Arduino GND. Which change is most important when the external signal may exceed 5 V?
Arduino board (pin configuration and description)
Hard
A.Add level shifting or a suitable protection interface
B.Enable the internal pull-up resistor
C.Change pin 2 to an analog input
D.Move the signal to the VIN terminal
Correct Answer: Add level shifting or a suitable protection interface
Explanation:
Arduino I/O pins are not designed for arbitrary overvoltage. A signal above the allowed pin voltage can cause current injection or permanent damage, so level shifting or protection is required.
Incorrect! Try again.
48A pushbutton is connected between Arduino Uno pin 7 and ground, and INPUT_PULLUP is configured. What reading pattern should the program interpret as a pressed button?
Arduino board (pin configuration and description)
Hard
A.LOW in both states because the pin is grounded
B.HIGH when pressed and LOW when released
C.LOW when pressed and HIGH when released
D.HIGH in both states because of the pull-up
Correct Answer: LOW when pressed and HIGH when released
Explanation:
The internal pull-up biases the unpressed input HIGH. Pressing the button connects the pin to ground, producing a LOW reading.
Incorrect! Try again.
49An obstacle-detection IR module gives a LOW output when it detects a nearby object. The output remains LOW when a highly reflective white surface is moved farther away. Which explanation is most plausible?
IR sensor
Hard
A.The receiver is responding to stronger reflected IR
B.The sensor detects distance independently of reflected intensity
C.The transmitter has become an analog voltage source
D.The module output is forced LOW by the Arduino ADC
Correct Answer: The receiver is responding to stronger reflected IR
Explanation:
Reflective surfaces can return sufficient infrared energy even at greater distances. Many basic IR modules threshold reflected intensity rather than directly measuring distance.
Incorrect! Try again.
50An IR proximity sensor works reliably indoors but frequently detects obstacles in direct sunlight. What is the best engineering remedy?
IR sensor
Hard
A.Use modulation and optical filtering with threshold calibration
B.Connect the sensor output directly to the 5 V rail
C.Replace the IR LED with a visible red LED
D.Increase the digital input sampling rate
Correct Answer: Use modulation and optical filtering with threshold calibration
Explanation:
Sunlight contains infrared energy and can saturate the receiver. Modulated transmission, a matched optical filter, and a calibrated threshold improve rejection of ambient light.
Incorrect! Try again.
51An IR reflective module has an adjustable threshold and produces unstable output near a boundary. Which change most directly reduces rapid switching caused by small signal fluctuations?
IR sensor
Hard
A.Add hysteresis to the threshold decision
B.Use a lower supply voltage only
C.Shorten the ground wire to zero length
D.Replace the digital output with a faster clock
Correct Answer: Add hysteresis to the threshold decision
Explanation:
Hysteresis uses different switching thresholds for entering and leaving the detected state, preventing noise near one threshold from causing repeated transitions.
Incorrect! Try again.
52An LDR has a resistance of 10 kΩ in darkness and 1 kΩ in bright light. It is connected in a divider with a fixed 10 kΩ resistor from 5 V to ground, with the output taken at the junction. What happens to the output voltage in bright light?
LDR
Hard
A.It remains exactly 2.5 V
B.It rises from 2.5 V to about 4.55 V
C.It falls from 2.5 V to about 0.45 V
D.It changes from 5 V to 0 V instantly
Correct Answer: It rises from 2.5 V to about 4.55 V
Explanation:
With the LDR connected to 5 V, . The output changes from 2.5 V in darkness to V in bright light.
Incorrect! Try again.
53An LDR divider is connected to an Arduino analog input. The reading changes significantly when a motor starts, even though illumination is constant. Which cause is most likely?
LDR
Hard
A.The LDR produces ultrasonic pulses
B.Motor noise causes supply or ground fluctuations
C.The ADC automatically increases the light level
D.The LDR resistance becomes independent of illumination
Correct Answer: Motor noise causes supply or ground fluctuations
Explanation:
Motor switching can introduce conducted and radiated noise, voltage dips, or ground shifts. Decoupling, wiring improvements, filtering, and suppression at the motor can reduce the error.
Incorrect! Try again.
54Two identical LDR dividers are used to detect left-right light imbalance. To make the differential reading less sensitive to changes in overall illumination, which approach is most appropriate?
LDR
Hard
A.Short both LDR outputs to ground
B.Compare normalized readings or use a differential ratio
C.Use the sum of the two readings only
D.Use only the darker sensor value
Correct Answer: Compare normalized readings or use a differential ratio
Explanation:
A ratio such as largely cancels common changes in illumination while preserving the relative difference between the two sensors.
Incorrect! Try again.
55An ultrasonic sensor measures the round-trip echo time as 8.0 ms. Taking the speed of sound as 343 m/s, what is the approximate target distance?
Basic principle of ultrasonic sensor
Hard
A.2.744 m
B.1.372 m
C.42.875 m
D.0.686 m
Correct Answer: 1.372 m
Explanation:
The pulse travels to the target and back, so m.
Incorrect! Try again.
56An HC-SR04-style sensor is mounted 1.2 m above a flat floor and points vertically downward. With the speed of sound at 343 m/s, what echo duration should be expected approximately?
Basic principle of ultrasonic sensor
Hard
A.3.5 ms
B.28.6 ms
C.14.0 ms
D.7.0 ms
Correct Answer: 7.0 ms
Explanation:
The sound travels 2.4 m in the round trip. Thus s, or 7.0 ms.
Incorrect! Try again.
57Two ultrasonic sensors are installed close together and triggered almost simultaneously. Their readings become erratic. What is the most likely cause and remedy?
Basic principle of ultrasonic sensor
Hard
A.ADC quantization; increase ADC resolution
B.LDR saturation; reduce visible light
C.Cross-talk; trigger sensors at separated times
D.PWM aliasing; change the LED duty cycle
Correct Answer: Cross-talk; trigger sensors at separated times
Explanation:
The receiver of one sensor can detect the other sensor's acoustic pulse. Time-multiplexing the triggers and allowing echoes to settle reduces cross-talk.
Incorrect! Try again.
58An ultrasonic sensor reports an unexpectedly long distance when aimed at a smooth, angled glass surface. Which explanation is most accurate?
Basic principle of ultrasonic sensor
Hard
A.The glass always absorbs all ultrasonic energy
B.The Arduino converts centimeters directly into voltage
C.The angled surface reflects sound away from the receiver
D.The transmitter emits light instead of sound
Correct Answer: The angled surface reflects sound away from the receiver
Explanation:
A smooth surface can produce specular reflection. If the reflected wave does not return toward the receiver, the sensor may miss the direct echo and detect a later or weaker reflection.
Incorrect! Try again.
59A DHT22 is connected using a long cable, and its data line occasionally stays HIGH or returns corrupted readings. Which hardware change is generally most appropriate?
Temperature sensor (DHT11/DHT22)
Hard
A.Power the sensor through the Arduino reset pin
B.Connect the data line directly to an analog output
C.Use an appropriate pull-up and improve signal wiring
D.Remove the data-line pull-up resistor
Correct Answer: Use an appropriate pull-up and improve signal wiring
Explanation:
The DHT single-wire data line requires a pull-up. Long cables add capacitance and noise, so suitable pull-up selection, grounding, shielding, and shorter wiring improve signal integrity.
Incorrect! Try again.
60A program requests DHT22 data every 20 ms and receives many invalid results. What is the primary reason?
Temperature sensor (DHT11/DHT22)
Hard
A.The sensor has a limited minimum sampling interval
B.The sensor output is always a PWM waveform
C.The DHT22 communicates only through SPI
D.The DHT22 requires an analog reference voltage
Correct Answer: The sensor has a limited minimum sampling interval
Explanation:
DHT sensors require substantial time between measurements. A DHT22 is commonly limited to about 0.5 Hz, so requests every 20 ms violate its sampling requirement.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →