CS381-2003fa-prelim1 - CS381 Fall 2003 First Mid Term Friday Olin 255 9:05-9:55 This is a 50-minute in class closed book exam All questions are

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CS381 First Mid Term Friday Oct 10, 2003 Fall 2003 Olin 255 9:05-9:55 This is a 50-minute in class closed book exam. All questions are straightforward and you should have no trouble doing them. Please show all work and write legibly. Thank you. 1. Let L be the set of strings of 0’s and 1’s with an even number of 0’s. Strings with zero 0’s have an even number of 0’s. Write a regular expression for L. 2. Consider the set { } { } 22 010 1| 1 * 01 010 1| 1 *0*1 ii ≥≥ I Write down a string of length 19 in the set.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This homework help was uploaded on 01/29/2008 for the course CS 3810 taught by Professor Hopcroft during the Fall '07 term at Cornell University (Engineering School).

Ask a homework question - tutors are online