CS 252 Homework Assignments
Homework assignments are due by the 11:00 pm on the due date.
Please upload a PDF file to Learning Suite containing your solutions.
Late submissions are not accepted.
Email submissions are not accepted.
Assignment | Chapter | Exercises/Problems | Due Date |
---|---|---|---|
Homework 1 | not assigned | ||
Homework 2 | not assigned | ||
Homework 3 | 1 | 1.3 | 11 Sep 2023 |
Homework 4 | 1 | 1.6a, 1.6f, 1.6i, 1.6j | 13 Sep 2023 |
Homework 5 | 1 | 1.7b, 1.7c, 1.7d, 1.7g | 15 Sep 2023 |
Homework 6 | 1 | 1.16a, 1.16b | 18 Sep 2023 |
Homework 7 | 1 | 1.18a, 1.18b, 1.18i, 1.18j | 20 Sep 2023 |
Homework 8 | 1 |
1.19a, 1.19b, 1.21a, 1.21b For problem 1.21b, please remove state 3 first, state 1 second, state 2 last. |
22 Sep 2023 |
Homework 9a | 1 | 1.29b | 25 Sep 2023 |
Homework 9b | 1 | 1.30, 1.53 | 27 Sep 2023 |
Homework 10 | 2 | 2.4b, 2.4e | 29 Sep 2023 |
Homework 11 | 2 | 2.1c, 2.1d | 2 Oct 2023 |
Homework 12 | 2 |
2.5b, 2.5e For each of these problems, you need to design a PDA. Do not design a CFG and convert it to a PDA. Also, you don't need to give informal descriptions for your PDAs. |
4 Oct 2023 |
Homework 13 | 2 | 2.11 | 6 Oct 2023 |
Homework 14 | 2 | 2.30a | 11 Oct 2023 |
Homework 15 | 3 | 3.1d, 3.2e | 13 Oct 2023 |
Homework 16 | 3 | 3.8b, 3.8c | 16 Oct 2023 |
Homework 17 | 3 | 3.15d, 3.16d | 18 Oct 2023 |
Homework 18 | 4 |
4.2, 4.3 4.3 hint: use the EDFA decider |
27 Oct 2023 |
Homework 19 | 4 | 4.4, 4.7 | 30 Oct 2023 |
Homework 20 | 4 |
4.13, 4.16 4.13 hint: describe subset using intersect and complement 4.16 hint: build a DFA that accepts any string containing 111 |
1 Nov 2023 |
Homework 21 | 5 |
5.1 (use reduction, don't use mapping reduction) 5.1 hint: Use the fact that ALLCFG is undecidable (see page 225 in the book) |
6 Nov 2023 |
Homework 22 | 5 |
5.9 (use reduction, don't use mapping reduction) 5.9 hint: Does T contain a TM that recognizes the language {01, 10}? Does T contain a TM that recognizes the language {01}? |
8 Nov 2023 |
Homework 23 | 5 |
5.4 5.4 hint: Think of a specific non-regular language A. Think of a specific regular language B. Can you give a mapping reduction from A to B? |
10 Nov 2023 |
Homework 24 | 5 |
5.9 (repeat 5.9, this time use mapping reduction) |
13 Nov 2023 |
Homework 25 | 7 | 7.1, 7.2 | 17 Nov 2023 |
Homework 26 | 7 | 7.8, 7.21a | 27 Nov 2023 |
Homework 27 | 7 | 7.3, 7.4 | 29 Nov 2023 |
Homework 28 | 7 | 7.9, 7.12 | 4 Dec 2023 |
Homework 29 | 7 |
7.5, 7.22 7.22 hint: reduce from SAT to DOUBLE-SAT |
6 Dec 2023 |
Homework 30 | 7 |
7.21b 7.21b hint: reduce from UHAMPATH to LPATH |
8 Dec 2023 |