Advanced Topics in Computer Science

Unit 9: Computing and Society

Students connect advanced programming to the human impact of software systems, data, automation, networks, and AI.

Unit Focus

What this unit is really teaching

The unit asks students to reason about power, risk, fairness, privacy, security, and responsibility in computing decisions.

Key Topics

  • +Privacy, data collection, consent, and digital footprints
  • +Cybersecurity basics, threat models, authentication, and secure design habits
  • +Bias, fairness, accessibility, and inclusive software design
  • +Artificial intelligence, robotics, automation, and parallel computing impacts
  • +Networking, distributed systems, and reliability tradeoffs
  • +Ethical case studies and written technical reflection

Practice Work

Implementation and analysis tasks

Student task

Write a computing impact analysis for an AI, robotics, or cybersecurity case study.

Student task

Design a responsible feature proposal that balances users, risks, and technical constraints.

DSA Assignment Bank

30 interview-style algorithm questions for this unit

Code Scholars provides structured assignments, implementation support, edge-case review, and runtime analysis coaching so students learn the concept rather than only memorizing a solution.

1

Aggregation and privacy

Design a privacy-preserving counter

Count anonymous activity totals by category while avoiding storage of raw individual identifiers.

2

Graph reachability

Build an access-control checker

Given users, roles, and permissions, determine whether a user can access a resource through assigned roles.

3

Windowed counting

Detect unusual login behavior

Track failed logins over time and flag accounts that exceed a threshold within a fixed window.

4

Priority scoring

Rank alerts without exposing details

Create a scoring function for security alerts using severity, confidence, and age, then discuss false positives.

5

Frequency analysis

Audit recommendation fairness

Compare recommendation rates across anonymous groups and identify when a model may need additional review.

6

Hashing and records

Find duplicate consent records

Detect repeated consent forms by user token and form version while avoiding display of private fields.

7

Queue by timestamp

Limit data retention

Remove records older than a retention window and prove the algorithm does not delete newer records.

8

Rule-based classification

Trace a phishing filter

Given message features, classify messages with rules and explain where the rule set may be too broad.

9

Graph connectivity

Model a network outage path

Given a dependency graph of services, determine which user-facing features fail when one service is down.

10

Interpretability

Design a transparent scoring explanation

For a simple risk score, return the top contributing factors without revealing sensitive hidden data.

11

Data quality analysis

Detect bias from missing data

Given a dataset with uneven missing values, identify which summaries may be misleading.

12

Coverage planning

Create an accessibility test checklist

Turn accessibility requirements into test cases for keyboard navigation, labels, contrast, and readable feedback.

13

Graph search

Find exposed dependency chains

Given software dependencies and vulnerability flags, find which applications depend on vulnerable packages.

14

HashMap plus timestamps

Build a rate limiter for safety

Limit repeated requests by account or IP-style token and explain the user experience tradeoff.

15

Requirement filtering

Summarize data minimization choices

Given a feature request, decide which fields are necessary, optional, or should not be collected.

16

Queue fairness

Analyze content moderation queues

Simulate how reports enter review queues and compare FIFO, priority, and hybrid approaches.

17

Validation logic

Flag impossible sensor readings

Given robotic sensor readings, identify values outside physical ranges and report the safest system response.

18

Reliability checks

Plan a backup verification algorithm

Check whether backups exist for each required system and whether the newest backup is recent enough.

19

Uptime aggregation

Measure service-level reliability

Given downtime intervals, compute total availability and identify overlapping outages correctly.

20

Binning

Create an anonymized histogram

Convert raw numeric activity values into bins and explain why bins reduce detail compared with raw records.

21

Set intersection

Detect conflicting permissions

Find users who have both restricted and privileged roles and recommend a review workflow.

22

String analysis

Design a secure password feedback rule

Give feedback on password strength without storing or printing the password itself.

23

BFS levels

Model rumor spread in a network

Use graph levels to estimate how information could spread and discuss why real behavior is more complex.

24

Distribution comparison

Explain AI model drift detection

Compare current input summaries with training summaries and flag large changes for human review.

25

Sorting and policy

Prioritize bug reports responsibly

Sort bug reports by severity and impact while avoiding rules that ignore accessibility issues.

26

State transition

Build a consent revocation workflow

Update records when a user withdraws consent and ensure future processing skips revoked records.

27

Field audit

Detect overcollection in a form

Given a form specification, identify fields that do not support the stated purpose.

28

State machine

Map incident response steps

Model an incident as detected, triaged, contained, resolved, and reviewed, with allowed transitions.

29

Metric reasoning

Review a fairness metric edge case

Given small group counts, explain why percentages can be unstable and what additional data or review is needed.

30

DSA support

Plan an ethics-and-DSA assignment

Create an assignment that combines algorithm design with privacy, bias, security, and written reflection.

Need support with Unit 9?

Work through the concepts, code, edge cases, and runtime analysis with 1:1 guidance.