Bird
Raised Fist0
EV Technologyknowledge~30 mins

Supply chain challenges (lithium, cobalt) in EV Technology - Mini Project: Build & Apply

Choose your learning style10 modes available
Understanding Supply Chain Challenges for Lithium and Cobalt
📖 Scenario: You are working in a team developing electric vehicles (EVs). To build EV batteries, you need to understand the supply chain challenges of key materials like lithium and cobalt.Knowing these challenges helps your team plan better and find solutions to avoid delays or shortages.
🎯 Goal: Build a simple data structure that lists lithium and cobalt supply details, add a threshold for critical supply risk, identify which materials face supply challenges, and finalize a summary report.
📋 What You'll Learn
Create a dictionary with exact entries for lithium and cobalt supply data
Add a threshold variable to mark critical supply risk
Use a loop to find materials with supply risk above the threshold
Complete the summary report with the identified risky materials
💡 Why This Matters
🌍 Real World
Understanding supply chain challenges helps EV manufacturers plan for material shortages and find alternative sources.
💼 Career
Supply chain analysts and EV engineers use this knowledge to ensure steady battery production and avoid costly delays.
Progress0 / 4 steps
1
Create the supply data dictionary
Create a dictionary called supply_data with these exact entries: 'lithium': 85 and 'cobalt': 70. These numbers represent supply reliability percentages.
EV Technology
Hint

Use curly braces to create a dictionary with keys 'lithium' and 'cobalt' and their supply reliability values.

2
Add a supply risk threshold
Add a variable called risk_threshold and set it to 75. This will mark supply reliability below 75% as risky.
EV Technology
Hint

Just create a variable named risk_threshold and assign it the value 75.

3
Identify materials with supply risk
Create a list called risky_materials that contains the names of materials from supply_data whose supply reliability is less than risk_threshold. Use a for loop with variables material and reliability to iterate over supply_data.items().
EV Technology
Hint

Start with an empty list. Loop through supply_data items. If reliability is less than risk_threshold, add the material to the list.

4
Complete the supply risk summary
Create a string variable called summary that says: 'Materials with supply risk: ' followed by the names in risky_materials joined by a comma and a space.
EV Technology
Hint

Use the join method to combine the risky_materials list into a string separated by commas.

Practice

(1/5)
1. Why are lithium and cobalt important for electric vehicles?
easy
A. They are key metals used in electric vehicle batteries.
B. They are used to build the car's frame.
C. They power the electric motor directly.
D. They are used as fuel in electric vehicles.

Solution

  1. Step 1: Understand the role of lithium and cobalt

    Lithium and cobalt are metals essential for making batteries, which store energy in electric vehicles.
  2. Step 2: Identify their specific use

    They are not used for the car frame, motor, or as fuel, but specifically in battery cells.
  3. Final Answer:

    They are key metals used in electric vehicle batteries. -> Option A
  4. Quick Check:

    Battery metals = Lithium and cobalt [OK]
Hint: Remember: lithium and cobalt are battery metals [OK]
Common Mistakes:
  • Thinking lithium powers the motor directly
  • Confusing metals with fuel
  • Assuming metals build the car frame
2. Which of the following correctly describes a supply chain challenge for lithium and cobalt?
easy
A. They are abundant and easy to mine everywhere.
B. They can be replaced easily with common metals.
C. They are not needed for electric vehicle batteries.
D. Mining is limited to certain countries, causing supply risks.

Solution

  1. Step 1: Identify mining locations

    Lithium and cobalt mining is concentrated in a few countries, making supply vulnerable to disruptions.
  2. Step 2: Evaluate options

    Options A, B, and D are incorrect because these metals are not abundant everywhere, not easily replaced, and are essential for batteries.
  3. Final Answer:

    Mining is limited to certain countries, causing supply risks. -> Option D
  4. Quick Check:

    Limited mining locations = supply risk [OK]
Hint: Supply risk comes from limited mining locations [OK]
Common Mistakes:
  • Assuming metals are abundant everywhere
  • Thinking metals can be replaced easily
  • Ignoring their importance in batteries
3. Consider this code snippet representing supply data:
lithium_supply = 1000
cobalt_supply = 500
required_lithium = 1200
required_cobalt = 400

if lithium_supply < required_lithium:
    lithium_status = "Shortage"
else:
    lithium_status = "Sufficient"

if cobalt_supply < required_cobalt:
    cobalt_status = "Shortage"
else:
    cobalt_status = "Sufficient"

print(lithium_status, cobalt_status)
What will be the output?
medium
A. Shortage Sufficient
B. Sufficient Shortage
C. Shortage Shortage
D. Sufficient Sufficient

Solution

  1. Step 1: Compare lithium supply and requirement

    Lithium supply is 1000, required is 1200, so supply < required means lithium_status = "Shortage".
  2. Step 2: Compare cobalt supply and requirement

    Cobalt supply is 500, required is 400, so supply >= required means cobalt_status = "Sufficient".
  3. Final Answer:

    Shortage Sufficient -> Option A
  4. Quick Check:

    1000 < 1200 = Shortage, 500 >= 400 = Sufficient [OK]
Hint: Check supply vs requirement for each metal [OK]
Common Mistakes:
  • Mixing up less than and greater than signs
  • Confusing lithium and cobalt variables
  • Assuming both are shortages
4. This code tries to check cobalt supply but has an error:
cobalt_supply = 300
required_cobalt = 400

if cobalt_supply > required_cobalt:
    status = "Sufficient"
else
    status = "Shortage"

print(status)
What is the error and how to fix it?
medium
A. Print statement missing parentheses; add parentheses
B. Missing colon after else; add ':' after else
C. Variable name typo; change cobalt_supply to cobalt_supplyd
D. Wrong comparison operator; change > to <

Solution

  1. Step 1: Identify syntax error in if-else

    The else statement is missing a colon ':' at the end, which is required in Python syntax.
  2. Step 2: Correct the syntax

    Add a colon ':' after else to fix the error.
  3. Final Answer:

    Missing colon after else; add ':' after else -> Option B
  4. Quick Check:

    Python requires ':' after else [OK]
Hint: Check for missing colons after else [OK]
Common Mistakes:
  • Ignoring missing colon syntax error
  • Changing comparison operator unnecessarily
  • Assuming variable name typo
5. A company wants to estimate how cobalt shortages affect electric vehicle production. If each vehicle needs 20 kg of cobalt and the supply is 5000 kg, how many vehicles can be made? What happens if demand is for 300 vehicles?
hard
A. 500 vehicles can be made; supply exceeds demand
B. 300 vehicles can be made; supply meets demand exactly
C. 250 vehicles can be made; demand of 300 causes shortage
D. 20 vehicles can be made; supply is very low

Solution

  1. Step 1: Calculate maximum vehicles from cobalt supply

    Divide total cobalt supply by cobalt per vehicle: 5000 kg / 20 kg = 250 vehicles.
  2. Step 2: Compare production capacity with demand

    Demand is 300 vehicles, which is more than 250 possible, so there is a shortage.
  3. Final Answer:

    250 vehicles can be made; demand of 300 causes shortage -> Option C
  4. Quick Check:

    5000/20=250 < 300 demand = shortage [OK]
Hint: Divide supply by per vehicle need, compare with demand [OK]
Common Mistakes:
  • Multiplying instead of dividing supply by per vehicle need
  • Assuming supply meets demand without calculation
  • Confusing kg with number of vehicles
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard