# Hw2 - Homework 2 CISC 303 Timo Kötzing([email protected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/* ]]> */..

This preview shows pages 1–2. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Homework 2 CISC 303 Timo Kötzing ([email protected]) Handed out: Monday, February 16. Due Date: Friday, February 27. Note that the Problem 1 gives you a choice of two parts, you don't need to submit both (no extra credit for submitting both parts). Further note that the last problem is an extra credit problem. Problem 1. (8 points) Do EITHER ONE of (A) or (B) below. You do not need to hand in solutions to both problems . (A) Let S be a set, let M,N ⊆ S . For each T ⊆ S , we write T for S \ T (all elements of S that are not in T ). Prove, in detail, the following set-theoretic claims. (i) M = M ; (ii) M ∪ N = M ∩ N ; (iii) M ∩ N = M ∪ N ; (iv) M \ N = M ∩ N ; (v) M = N ⇔ ( M \ N ) ∪ ( N \ M ) = ∅ . (B) Let M = ( A,Q,δ,F,q ) be a DFA. Let v,w ∈ A * be such that δ * ( q ,v ) = δ * ( q ,w ) . (1) Use Equation (1) to show ∀ u ∈ A * : δ * ( q ,vu ) = δ * ( q ,wu ) . (2) Then conclude ∀ u ∈ A * : vu ∈ L ( M ) ⇔ wu ∈ L ( M ) . (3) Hint: Prove (2) by induction: rst show it is true for u = ε ; then suppose it is true for some...
View Full Document

## This note was uploaded on 02/01/2012 for the course CISC 303 taught by Professor Carberry,m during the Spring '08 term at University of Delaware.

### Page1 / 2

Hw2 - Homework 2 CISC 303 Timo Kötzing([email protected]..

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online