Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to print the main reason why responsible AI development is important.
Prompt Engineering / GenAI
print('Responsible AI development helps to ensure that AI systems are [1] and fair.')
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'biased' because it is the opposite of fair.
Choosing 'slow' or 'expensive' which are unrelated to ethics.
✗ Incorrect
Responsible AI development focuses on creating AI systems that are ethical, meaning they respect fairness and avoid harm.
2fill in blank
mediumComplete the code to identify a key risk of irresponsible AI development.
Prompt Engineering / GenAI
risk = 'AI systems may [1] certain groups unfairly if not developed responsibly.'
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'help' or 'support' which are positive actions, not risks.
Choosing 'ignore' which does not capture unfair treatment.
✗ Incorrect
Irresponsible AI can discriminate, meaning it treats some groups unfairly based on biased data or design.
3fill in blank
hardFix the error in the code that checks if AI development follows responsible principles.
Prompt Engineering / GenAI
if ai_system.is_[1](): print('AI is developed responsibly') else: print('AI development needs improvement')
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'fast' or 'cheap' which are unrelated to responsibility.
Using 'complex' which does not indicate ethical behavior.
✗ Incorrect
The method should check if the AI system is ethical, meaning it follows responsible principles.
4fill in blank
hardFill both blanks to complete the code that filters AI models based on fairness and transparency.
Prompt Engineering / GenAI
filtered_models = [model for model in models if model.is_[1]() and model.has_[2]()]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'fast' or 'accurate' which are not the focus here.
Mixing up fairness and transparency terms.
✗ Incorrect
We filter models that are fair and have transparency, which are key for responsible AI.
5fill in blank
hardFill all three blanks to complete the code that creates a report on AI ethics, bias, and accountability.
Prompt Engineering / GenAI
report = {
'[1]': ai_system.check_ethics(),
'[2]': ai_system.detect_bias(),
'[3]': ai_system.ensure_accountability()
} Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'performance' which is unrelated to responsibility.
Mixing up the order of keys.
✗ Incorrect
The report keys must be 'ethics', 'bias', and 'accountability' to reflect responsible AI checks.