Aggregation and privacy
Design a privacy-preserving counter
Count anonymous activity totals by category while avoiding storage of raw individual identifiers.
Advanced Topics in Computer Science
Students connect advanced programming to the human impact of software systems, data, automation, networks, and AI.
Unit Focus
The unit asks students to reason about power, risk, fairness, privacy, security, and responsibility in computing decisions.
Practice Work
Write a computing impact analysis for an AI, robotics, or cybersecurity case study.
Design a responsible feature proposal that balances users, risks, and technical constraints.
DSA Assignment Bank
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.
Aggregation and privacy
Count anonymous activity totals by category while avoiding storage of raw individual identifiers.
Graph reachability
Given users, roles, and permissions, determine whether a user can access a resource through assigned roles.
Windowed counting
Track failed logins over time and flag accounts that exceed a threshold within a fixed window.
Priority scoring
Create a scoring function for security alerts using severity, confidence, and age, then discuss false positives.
Frequency analysis
Compare recommendation rates across anonymous groups and identify when a model may need additional review.
Hashing and records
Detect repeated consent forms by user token and form version while avoiding display of private fields.
Queue by timestamp
Remove records older than a retention window and prove the algorithm does not delete newer records.
Rule-based classification
Given message features, classify messages with rules and explain where the rule set may be too broad.
Graph connectivity
Given a dependency graph of services, determine which user-facing features fail when one service is down.
Interpretability
For a simple risk score, return the top contributing factors without revealing sensitive hidden data.
Data quality analysis
Given a dataset with uneven missing values, identify which summaries may be misleading.
Coverage planning
Turn accessibility requirements into test cases for keyboard navigation, labels, contrast, and readable feedback.
Graph search
Given software dependencies and vulnerability flags, find which applications depend on vulnerable packages.
HashMap plus timestamps
Limit repeated requests by account or IP-style token and explain the user experience tradeoff.
Requirement filtering
Given a feature request, decide which fields are necessary, optional, or should not be collected.
Queue fairness
Simulate how reports enter review queues and compare FIFO, priority, and hybrid approaches.
Validation logic
Given robotic sensor readings, identify values outside physical ranges and report the safest system response.
Reliability checks
Check whether backups exist for each required system and whether the newest backup is recent enough.
Uptime aggregation
Given downtime intervals, compute total availability and identify overlapping outages correctly.
Binning
Convert raw numeric activity values into bins and explain why bins reduce detail compared with raw records.
Set intersection
Find users who have both restricted and privileged roles and recommend a review workflow.
String analysis
Give feedback on password strength without storing or printing the password itself.
BFS levels
Use graph levels to estimate how information could spread and discuss why real behavior is more complex.
Distribution comparison
Compare current input summaries with training summaries and flag large changes for human review.
Sorting and policy
Sort bug reports by severity and impact while avoiding rules that ignore accessibility issues.
State transition
Update records when a user withdraws consent and ensure future processing skips revoked records.
Field audit
Given a form specification, identify fields that do not support the stated purpose.
State machine
Model an incident as detected, triaged, contained, resolved, and reviewed, with allowed transitions.
Metric reasoning
Given small group counts, explain why percentages can be unstable and what additional data or review is needed.
DSA support
Create an assignment that combines algorithm design with privacy, bias, security, and written reflection.
Work through the concepts, code, edge cases, and runtime analysis with 1:1 guidance.