Docsity

Module 10 Worksheet - Computability and Languages | CSE 460, Study notes of Computer Science

Toggle sidebar
bg1
Module 10 Worksheet
In Class Questions
1) (S3) What does the statement “REC is closed under set complement mean?”
2) (S3) Write this closure property as a first-order logic statement.
3) (S3) How do we prove a language L is in REC?
4) (S14) What does the statement “RE is closed under set union mean?”
5) (S14) Write this closure property as a first order logic statement.
6) (S14) How do we prove that a language L is in RE?
7) (S35) What if P2 rejects the input string. Our specification doesn’t explicitly say
anything about this case.
Take home review questions
1) What is the difference between RE and REC?
2) In proving that RE is closed under set union, we created a program P3 that loops in
some cases. Why is this ok?
3) What do I mean when I say execute P1 and P2 in parallel on an input?
pf2

Partial preview of the text

Download Module 10 Worksheet - Computability and Languages | CSE 460 and more Study notes Computer Science in PDF only on Docsity!

Module 10 Worksheet In Class Questions

  1. (S3) What does the statement “REC is closed under set complement mean?”
  2. (S3) Write this closure property as a first-order logic statement.
  3. (S3) How do we prove a language L is in REC?
  4. (S14) What does the statement “RE is closed under set union mean?”
  5. (S14) Write this closure property as a first order logic statement.
  6. (S14) How do we prove that a language L is in RE?
  7. (S35) What if P 2 rejects the input string. Our specification doesn’t explicitly say anything about this case. Take home review questions
  8. What is the difference between RE and REC?
  9. In proving that RE is closed under set union, we created a program P 3 that loops in some cases. Why is this ok?
  10. What do I mean when I say execute P 1 and P 2 in parallel on an input?

Place the following objects into the above diagrams. Represent the objects as a circle if the object is a set, a dot if the object is an element, or leave the object out if it does not belong in that diagram. Some objects may be in only one diagram, others in both. Try to capture the correct relationship between distinct objects in each diagram. REC Set of even length strings over {a}. {a}* aaa

  1. Which of the following prove that L is solvable (not solvable)? L union L 1 = L 2 where L 1 is half-solvable and L 2 is solvable L union L 1 = L 2 where L 1 is solvable and L 2 is solvable L union L 1 = L 2 where L 1 is solvable and L 2 is half-solvable but not solvable L 1 union L 2 = L where L 1 is solvable and L 2 is half-solvable but not solvable L 1 union L 2 = L where L 1 is half-solvable and L 2 is half-solvable L 1 union L 2 = L where L 1 is solvable and L 2 is solvable 2 {a}*^ {a}