CSC 4170: Homework Assignments

 

Policy: Homework will not be graded. Using somebody's help when doing homework is not forbidden. However, the quiz problems will usually come from the latest two homework assignments. Book or notes will not be allowed during the quiz. Some homework or quiz problems may also reappear on examinations. So, even if you use somebody's help, make sure ultimately you understand everything well and can solve the same or similar problems on your own. 

 


August 28

Material covered: Slides 0.a - 0.h

Assignment:


August 30

Material covered: Slides 1.1.a - 1.1.j

Assignment:


September 4

Material covered: Slides 1.2.a - 1.2.h

Assignment:


September 6

Material covered: Slides 1.2.h - 1.3.c

Assignment:


September 11

Material covered: Slides 1.3.d – 1.3.p

Assignment:


September 13

Material covered: Slides 1.3.q – 1.4.c

Assignment:


September 18

Material covered: Slides 1.4.d – 2.1.b

Assignment:


September 20

Material covered: Slides 2.1.c – 2.1.g

Assignment:


September 25

Material covered: Slides 2.1.h – 2.2.b

Assignment:


September 27

Material covered: Slides 2.2.c – 2.3.d

Assignment:


October 2

Material covered: Slides 3.1.a – 3.1.e4

Assignment:

NOTICE: Midterm on Thursday, October 11. There will be a quiz on Tuesday as usual.


October 4

Material covered: Slides 3.1.f – 3.1.l

Assignment:

NOTICE: Midterm on Thursday, October 11. There will be a quiz on Tuesday as usual.

·       Design a fragment of a TM that, from a state “Beg?”, goes to a state “Yes” or  “No”, depending on whether you are at the beginning of the tape or not, 

without corrupting the contents of the tape (Slide 3.1.i).

·       Design a fragment of a TM that, from a state “Go to the beginning”, goes to the beginning of the tape and state “Done” (Slide 3.1.j).

·       Design a fragment of a TM that, beginning from the current cell, shifts the contents of the tape right, typing in the current cell a 0 (Slide 3.1.k). Assume the tape alphabet is {0,1,-}, and that neither 0 nor 1 ever occurs after the leftmost blank on the tape.


October 9

Material covered: Nothing new

Assignment: Nothing new.  NOTICE: Midterm on Thursday, October 11.


October 23

Material covered: Slides 3.2.a – 3.2.e

Assignment:

·       Design a fragment of a 2-tape TM that swaps the contents of the tapes, from the position where the heads are at the beginning and there are no blanks followed by non-blank symbols (Slide 3.2.c). Tape alphabet: {0,1,-}.

·       State Theorem 3.13 and provide a very brief (half-page or so) yet meaningful and to-the-point explanation of its proof idea. Do not go into (m)any technical details.

·       The same for Theorem 3.16.


October 25

Material covered: Slides 3.2.f – 3.2.k

Assignment:

·       The definitions of computing, computability and graph of a function (Slide 3.2.j).

·       For a bit string w, NOT(w) means w with all bits changed. For example, NOT(11010)=00101. Construct a Turing machine with an output that computes function NOT.


November 1

Material covered: Slides 3.3.a – 3.3.f

Assignment: [NOTE: the quiz questions this time will come from one of the latest THREE sets of problems – those posted on Oct. 23, Oct. 25 and Nov. 1]

·       What is encoding? Give examples.

·       What is the Church-Turing thesis all about? (don't just write something like "algorithms = TM"; write a couple of sentences showing that you understand what you are writing).

·       Exercise 3.7.


November 6

Material covered: Slides 4.1.a – 4.1.f

Assignment:


November 8

Material covered: Slides 4.2.a – 4.2.d

Assignment:


November 13

Material covered: Slide 5.1.a

Assignment:


November 15

Material covered: Slides 5.3.a – 5.3.d

Assignment:


November 20

Material covered: Slides 6.3.a – 6.3.b

Assignment:


November 27

Material covered: Slides 6.2.a – 6.2.c

Assignment:


November 29

Material covered: Slides 6.2.d, 7.1.a – 7.1.b

Assignment:


December 4

Material covered: Slides 7.1.c – 7.1.p (Slides 7.1.d-f omitted)

Assignment:


December 6

Material covered: Slides 7.2.a – 7.3.f

Assignment:


December 13

Material covered: Slides 7.3.f – 7.3.g

Assignment:

FINAL examination: Thursday, December 20, 11:30-2:00, usual place.