Homeworks

IMPORTANT NOTE
In Fall 2025, I am removing homeworks as a means of assessment. I do not believe that, in the age of AI, take-home assignments can serve as an honest reflection of student abilities. I know some students will argue that LLMs aid learning by acting as tutors or by fixing trivial grammar and spelling issues. I don’t doubt that. But I’m also fairly certain that’s not how most students use AIs. This is not a moral condemnation—if I were an undergrad today, I’m sure I would be using LLMs for all my assignments.

But I’m now a professor, and part of my job is to create an infrastructure that encourages genuine learning and mastery of the material. Further, there is an ever-growing body of research showing that LLMs can hamper learning (see the cheating policy page for references).

That said, several students have expressed a desire for homeworks as a means of practice. For that reason, I am releasing this homework set. Homeworks should be the last thing you practice. First, make sure all the quiz problems feel trivial. Next, ensure you can solve all the lab problems. Only once you’ve mastered those questions (without the aid of solutions) should you move on to the homeworks.

# Topic |Problems| Assigned Due Questions Solutions
1 Languages and RegEx 4 Aug 29 Sep 08 Homework 1 Questions Homework 1 Questions
2 DFAs and NFAs 4 Sep 05 Sep 15 Homework 2 Questions Homework 2 Questions
3 Fooling Sets and CFGs 4 Sep 12 Sep 22 Homework 3 Questions Homework 3 Questions
4 Reductions and Divide & Conquer 4 Oct 03 Oct 13 Homework 4 Questions Homework 4 Questions
5 Backtracking and Dynamic Programming 4 Oct 10 Oct 20 Homework 5 Questions Homework 5 Questions
6 More Dynamic Programming and Problem-Graph Modeling 4 Oct 17 Oct 27 Homework 6 Questions Homework 6 Questions
7 DAGs, Shortest Paths 4 Oct 24 Nov 03 Homework 7 Questions Homework 7 Questions
8 Reductions, NP-Completeness 4 Nov 07 Nov 17 Homework 8 Questions Homework 8 Questions
9 NP-Completeness, Decidability 4 Nov 14 Dec 01 Homework 9 Questions Homework 9 Questions

 

Couple things to note about homeworks:

Homework Logistics: How to submit (Not relevant in Fall 2025)

Homework Grading Policies:

Regrades

Regrades requests would be open for a week once grades are released (except for final exam because of registrar grade submission deadlines). Regrade requests are not intended for arguing about point allocation, or whether the grading scale is fair.

Unfortunately, certain students think that they can tire us into giving them point that they did not earn, by keep asking for unjustified regrade requests. As such, superfluous, argumentative and repetitive regrade requests, after an appropriate warning, would results in a zero on the relevant questions - please do not waste our time.