Bird
0
0

A developer wrote code for an ADAS feature to detect obstacles but the system crashes when no obstacles are present. What is a likely bug?

medium📝 Analysis Q7 of 15
EV Technology - Autonomous Driving and EVs
A developer wrote code for an ADAS feature to detect obstacles but the system crashes when no obstacles are present. What is a likely bug?
AThe windshield wipers are on
BThe vehicle's battery is low
CThe code does not handle empty sensor data properly
DThe tires are worn out
Step-by-Step Solution
Solution:
  1. Step 1: Analyze crash cause

    Crashes when no obstacles means code likely fails to handle empty or null sensor inputs.
  2. Step 2: Check options

    Only improper handling of empty data explains the crash; others unrelated.
  3. Final Answer:

    The code does not handle empty sensor data properly -> Option C
  4. Quick Check:

    Crash with no data = Missing empty data handling [OK]
Quick Trick: Always check for empty sensor data in ADAS code [OK]
Common Mistakes:
  • Blaming unrelated vehicle parts
  • Ignoring null or empty data cases

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More EV Technology Quizzes