0
0
EV Technologyknowledge~30 mins

ADAS (Advanced Driver Assistance Systems) in EV Technology - Mini Project: Build & Apply

Choose your learning style9 modes available
Understanding ADAS (Advanced Driver Assistance Systems)
📖 Scenario: You are learning about modern car safety features that help drivers avoid accidents and drive more safely. These features are part of Advanced Driver Assistance Systems (ADAS).Imagine you are creating a simple list of common ADAS features and their descriptions to help new drivers understand what each feature does.
🎯 Goal: Build a structured list of ADAS features with their names and simple descriptions to explain their purpose clearly.
📋 What You'll Learn
Create a dictionary called adas_features with exact feature names as keys and their descriptions as values.
Add a variable called minimum_safety_rating set to 4 to represent the minimum safety rating for ADAS features.
Use a loop with variables feature and description to iterate over adas_features.items() and create a new dictionary high_rating_features that includes only features with a rating equal or above minimum_safety_rating.
Add a final dictionary called adas_ratings with exact ratings for each feature to complete the ADAS overview.
💡 Why This Matters
🌍 Real World
ADAS features are common in modern vehicles to improve safety and assist drivers in everyday driving situations.
💼 Career
Understanding ADAS is important for automotive technicians, safety engineers, and anyone working in vehicle technology or driver education.
Progress0 / 4 steps
1
Create the ADAS features dictionary
Create a dictionary called adas_features with these exact entries: 'Adaptive Cruise Control' with description 'Maintains a set speed and distance from the car ahead', 'Lane Departure Warning' with description 'Alerts when the vehicle drifts out of its lane', and 'Automatic Emergency Braking' with description 'Applies brakes automatically to avoid collision'.
EV Technology
Need a hint?

Use curly braces {} to create a dictionary with keys and values as strings.

2
Add minimum safety rating variable
Add a variable called minimum_safety_rating and set it to the integer 4 to represent the minimum safety rating for ADAS features.
EV Technology
Need a hint?

Use a simple assignment to create the variable with the value 4.

3
Filter features by safety rating
Use a for loop with variables feature and description to iterate over adas_features.items(). Inside the loop, create a new dictionary called high_rating_features that includes only features with a rating equal or above minimum_safety_rating. Assume you have a dictionary adas_ratings (to be added next) that holds ratings for each feature.
EV Technology
Need a hint?

Use adas_ratings.get(feature, 0) to get the rating safely and compare it to minimum_safety_rating.

4
Add ADAS ratings dictionary
Add a dictionary called adas_ratings with these exact entries: 'Adaptive Cruise Control': 5, 'Lane Departure Warning': 3, and 'Automatic Emergency Braking': 5 to complete the ADAS overview.
EV Technology
Need a hint?

Use curly braces {} to create the dictionary with exact keys and integer values.