Bird
Raised Fist0
Intro to Computingfundamentals~20 mins

Ethics and bias in AI in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Ethics and Bias Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Bias in AI Systems

Which of the following best describes bias in an AI system?

AAI making decisions based on incomplete or unfair data leading to unfair outcomes
BAI always producing random results regardless of input data
CAI systems that never make mistakes or errors
DAI that only works with numerical data and ignores text
Attempts:
2 left
💡 Hint

Think about how data quality affects AI decisions.

❓ trace
intermediate
2:00remaining
Tracing Bias Impact on AI Decision

Consider an AI system trained to approve loan applications. It was trained mostly on data from one city. What is the likely result when it evaluates applications from a different city?

AIt will approve all applications regardless of data
BIt may unfairly reject applications from the new city due to unfamiliar data patterns
CIt will reject all applications from the original city
DIt will randomly approve or reject applications without any pattern
Attempts:
2 left
💡 Hint

Think about how training data affects AI predictions on new data.

❓ identification
advanced
2:00remaining
Identifying Ethical Concerns in AI Use

Which of the following scenarios raises an ethical concern about AI use?

AAn AI system that recommends job candidates but only uses gender and age as criteria
BAn AI that helps doctors by analyzing medical images to detect diseases
CAn AI that translates languages instantly for travelers
DAn AI that suggests recipes based on available ingredients
Attempts:
2 left
💡 Hint

Consider fairness and discrimination in AI decisions.

❓ Comparison
advanced
2:00remaining
Comparing Data Sets for Fair AI Training

Which data set is best suited to train an AI system to fairly recognize faces of all people?

AA data set with images of animals instead of people
BA data set with images mostly of one ethnicity and age group
CA data set with images of people from many different ethnicities, ages, and genders
DA data set with only cartoon faces
Attempts:
2 left
💡 Hint

Think about diversity and representation in training data.

🚀 Application
expert
3:00remaining
Applying Ethical Principles to AI Design

You are designing an AI system for loan approvals. Which approach best reduces bias and promotes fairness?

ATrain AI only on past approved loans without checking for fairness
BUse only data from one region and automate all decisions without human checks
CIgnore data quality and focus on speed of decision-making
DUse diverse training data, regularly test for bias, and allow human review of decisions
Attempts:
2 left
💡 Hint

Consider how to ensure fairness and accountability in AI.

Practice

(1/5)
1. What does ethics in AI mainly focus on?
easy
A. Making fair and safe choices in AI systems
B. Improving AI speed and performance
C. Adding more features to AI software
D. Reducing the cost of AI development

Solution

  1. Step 1: Understand the meaning of ethics in AI

    Ethics in AI means making decisions that are fair and safe for everyone.
  2. Step 2: Compare options with the definition

    Only Making fair and safe choices in AI systems talks about fairness and safety, which matches ethics in AI.
  3. Final Answer:

    Making fair and safe choices in AI systems -> Option A
  4. Quick Check:

    Ethics = Fair and safe choices [OK]
Hint: Ethics means fairness and safety in AI decisions [OK]
Common Mistakes:
  • Confusing ethics with technical improvements
  • Thinking ethics is about cost or speed
  • Ignoring fairness and safety aspects
2. Which of the following is the correct way to describe bias in AI?
easy
A. A feature that makes AI faster
B. Unfairness that sneaks into AI from data or design
C. A tool to improve AI accuracy
D. A method to reduce AI errors

Solution

  1. Step 1: Define bias in AI context

    Bias means unfairness that can come from the data or how AI is designed.
  2. Step 2: Match options with bias definition

    Unfairness that sneaks into AI from data or design correctly describes bias as unfairness sneaking into AI.
  3. Final Answer:

    Unfairness that sneaks into AI from data or design -> Option B
  4. Quick Check:

    Bias = Unfairness in AI [OK]
Hint: Bias means unfairness in AI data or design [OK]
Common Mistakes:
  • Thinking bias improves AI
  • Confusing bias with speed or error reduction
  • Ignoring the unfairness aspect
3. Consider this simple AI decision flow:
Input: Age
If Age < 18 then Output = "Minor"
Else Output = "Adult"

What is the output if the input age is 20?
medium
A. "Minor"
B. "Unknown"
C. "Error"
D. "Adult"

Solution

  1. Step 1: Check the input value against the condition

    Input age is 20, which is not less than 18.
  2. Step 2: Follow the decision flow for age 20

    Since 20 ≥ 18, output is "Adult".
  3. Final Answer:

    "Adult" -> Option D
  4. Quick Check:

    Age 20 ≥ 18 -> Output = "Adult" [OK]
Hint: Check if age is less than 18 or not [OK]
Common Mistakes:
  • Choosing "Minor" for age 20
  • Assuming error without reason
  • Ignoring the else condition
4. An AI system shows bias by unfairly favoring one group. Which fix helps reduce this bias?
medium
A. Use more diverse and balanced data for training
B. Make the AI run faster
C. Add more layers to the AI model
D. Ignore the bias since it is small

Solution

  1. Step 1: Identify cause of bias

    Bias often comes from unbalanced or non-diverse training data.
  2. Step 2: Choose the fix that addresses data bias

    Using diverse and balanced data helps AI treat all groups fairly.
  3. Final Answer:

    Use more diverse and balanced data for training -> Option A
  4. Quick Check:

    Diverse data reduces bias [OK]
Hint: Fix bias by improving training data diversity [OK]
Common Mistakes:
  • Thinking speed or model size fixes bias
  • Ignoring bias problems
  • Assuming bias is acceptable if small
5. A company wants to build an AI hiring tool that avoids bias. Which approach best ensures fairness?
hard
A. Use AI to select candidates faster without checks
B. Train AI only on resumes from one city
C. Regularly test AI decisions for fairness and update data
D. Exclude all personal information from resumes

Solution

  1. Step 1: Understand fairness in AI hiring

    Fair AI must be tested regularly to catch bias and updated with good data.
  2. Step 2: Evaluate options for fairness

    Regularly test AI decisions for fairness and update data includes testing and updating, which helps maintain fairness over time.
  3. Step 3: Consider why other options fail

    Train AI only on resumes from one city limits data diversity; C ignores fairness; D may help but alone is not enough.
  4. Final Answer:

    Regularly test AI decisions for fairness and update data -> Option C
  5. Quick Check:

    Testing and updating ensures fairness [OK]
Hint: Fair AI needs ongoing testing and data updates [OK]
Common Mistakes:
  • Using limited data causing bias
  • Ignoring fairness checks
  • Assuming removing info alone fixes bias
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