CS301, Spring 2003:

Foundations of Computer Science

HOMEWORKS:

HW1: Chapter 1, Problem 13, 28, 33, 35, 36. DUE: Jan 30.

HW2: Chapter 2, Give a MACHINE for Problem 19, 20, 21, 22, 24,

  • Chapter 6, generate the regular expression for Problems 1, 3
  • Construct a DFA that computes Mod 5 for binary encoded integers.
  • DUE: February 4.

    HW3: Chapter 1, Problem 34, 42, 43. DUE: Feb 18.

    HW4: Chapter 3, Problem 5, 12, 45, 46,

  • Chapter 4, Problem 7, 18, 19, 22, 23. DUE: Feb 24.
  • Chapter 4, On Problem 7--give a machine, not a regular expression.

    HW5: Chapter 5, Problem 2 just give the noncontracting form,

  • Chapter 5, Problem 7, 30, 32, 36 DUE: Feb 27.

    HW6: Chapter 16, Problem 3, 4, 9a, 11 (don't do the sentential form). DUE March 20.

    HW7: Chapter 6, Problem 34, 29, 30, 39, 40. On problem 34, just go from NDFA to DFA. On problem 29 and 30, lambda-NDFA to NDFA. On problem 39 and 40, just construct the minimal DFA. DUE March 31.

    HW8: Chapter 7, Problem 11a, 11b, 11d. Chapter 8, Problem 3a, 3b, 3c. DUE April 7.

    LAB ASSIGNMENT:

    The Lab

    LAB SUBMISSION:

    1. Convert your files(s) to a 'tar' file. Use the command:
    >>> tar -cvf somename.tar files

    For example to tar the files num1.java and num2.java we would write:
    >>> tar -cvf student-name.tar *.java

    2. Use the checkin program located at ~simmonds/bin/turnin to submit your tar files, for example:
    >>> ~simmonds/bin/turnin student-name.tar

    Lectures