Practice Midterm Exam 1 - Computability and Complexity | COMPSCI 172, Exams of Computer Science

Material Type: Exam; Class: Computability and Complexity; Subject: Computer Science; University: University of California - Berkeley; Term: Fall 2009;

Typology: Exams

2010/2011

Uploaded on 05/23/2011

koofers-user-5yc
koofers-user-5yc 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
U.C. Berkeley CS172: Automata, Computability and Complexity Practice Midterm 1
Professor Luca Trevisan October 2, 2009
Practice Midterm 1
1. Show that the intersection of infinitely many regular languages may not be regular.
2. Consider the language
L:= {1k#y:k1, y {0,1}and ycontains at least k ones }
defined over the alphabet {0,1,#}. Prove or disprove that Lis regular.
3. Consider the language
L:= (1101 11)
Give a minimal DFA for Land prove that it is minimal
4. Show that every infinite Turing-recognizable language has an infinite decidable subset.
1

Partial preview of the text

Download Practice Midterm Exam 1 - Computability and Complexity | COMPSCI 172 and more Exams Computer Science in PDF only on Docsity!

U.C. Berkeley — CS172: Automata, Computability and Complexity Practice Midterm 1 Professor Luca Trevisan October 2, 2009

Practice Midterm 1

  1. Show that the intersection of infinitely many regular languages may not be regular.
  2. Consider the language L := { 1 k#y : k ≥ 1 , y ∈ { 0 , 1 }∗^ and y contains at least k ones } defined over the alphabet { 0 , 1 , #}. Prove or disprove that L is regular.
  3. Consider the language L := (1101 ∪ 11)∗ Give a minimal DFA for L and prove that it is minimal
  4. Show that every infinite Turing-recognizable language has an infinite decidable subset.