CSci 311: Models of Computation
CSci 500: Fundamental Concepts of Computing
Fall Semester 2015

Assignment #3
Due Thursday, October 1 (same day as Exam 1)


CSci 311 students do at least 10 of the following exercises. CSci 500 students do at least 11 of the following exercises.

Be sure to follow the directions given in the syllabus! For example, please write legibly on one side of the paper only, label each problem clearly, staple the papers in the proper order, and make sure your name is on the paper.

Give a regular expression for each of the following sets:

  1. The set of strings of length two or more over {a,b} in which all the a's precede all the b's.
  2. The set of strings over {a,b} that contain the substring aa and the substring bb.
  3. The set of strings over {a,b} that do not contain the substring aaa.

Do the following exercises from the 5th edition of the Linz textbook.

Section 3.1 exercises, pages 75-7.

Section 3.2 exercises, pages 87-9.

Section 3.3 exercises, pages 96-7.


Copyright © 2015, H. Conrad Cunningham
Last modified: Tue Sep 22 16:14:22 CDT 2015