Ethical Implications of a Recommendation Algorithm
The code segment below is used by a social media company to recommend content to users. Which statement describes a potential social or ethical implication of using this algorithm?
public class ContentRecommendation {
private ArrayList<Post> posts;
private User currentUser;
public ArrayList<Post> getRecommendedPosts() {
ArrayList<Post> recommended = new ArrayList<>();
for (Post post : posts) {
if (post.getEngagementScore() > 8.0) {
recommended.add(post);
}
}
// Sort by engagement score descending
recommended.sort((a, b) ->
Double.compare(b.getEngagementScore(), a.getEngagementScore()));
return recommended.subList(0, Math.min(10, recommended.size()));
}
}
A
The algorithm ensures users see the most popular content, guaranteeing high-quality posts
B
The algorithm prioritizes highly engaging content, which may create filter bubbles and promote addictive usage patterns
C
The algorithm prevents spam by only showing posts with high engagement scores
D
The algorithm promotes diverse content by limiting results to 10 posts maximum
Question Leaderboard
Not enough data yet to show leaderboard.
APFIVE