/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Free solutions & answers for Introduction to Theory of Computation Chapter 4 - (Page 1) [step by step] 9781133187790 | 91Ó°ÊÓ

91Ó°ÊÓ

11P

Page 211

Let INFINITEPDA={(M)|MisaPDAandL(M)isaninfinitelanguage}.

Show thatINFINITEPDAis decidable.

16P

Page 212

Let A={R|Ris a regular expression describing a language containing at least one string w that has 111 as a substring i.e.,w=x111y for some x and y}. Show that A is decidable.

17P

Page 212

Prove that EQDFA is decidable by testing the two DFAs on all strings up to a certain size. Calculate a size that works.

18P

Page 212

Let C be a language. Prove that C is Turing-recognizable if a decidable language D exists such that C={x|∃yx,y∈D}.

21P

Page 212

Let S={M|M is  a  DFA  that  accepts  wR whenever  it  accepts  w} Show that S is decidable.

26P

Page 212

Let PALDFA={M|M is a DFA that accepts some palindrome}. Show thatPALDFAis decidable.

27P

Page 212

Let E={M|M is a DFA that accepts some string with more 1s than 0s}. Show that E is decidable. (Hint: Theorems about CFLs are helpful here.)

Q22P

Page 212

Let PREFIX−FREEREX=role="math" localid="1659933266276" {{R}|RisaregularexpressionandL(R)isprefix-free}. Show that PREFIX−FREEREXis decidable. Why does a similar approach fail to show thatPREFIX−FREECFG is decidable?

Q23P

Page 212

Say that an NFA is ambiguous if it accepts some string along two different computation branches

LetAMBIGNFA={(N)|NisanambiguousNFA}.Show thatAMBIGNFA is decidable. (Suggestion: One elegant way to solve this problem is to construct a suitable DFA and then run EDFAon it.)

Q24P

Page 212

A useless state in a pushdown automaton is never entered on any input string. Consider the problem of determining whether a pushdown automaton has any useless states. Formulate this problem as a language and show that it is decidable

Access millions of textbook solutions in one place

  • Access over 3 million high quality textbook solutions
  • Access our popular flashcard, quiz, mock-exam and notes features
  • Access our smart AI features to upgrade your learning
Access millions of textbook solutions in one place

Recommended explanations on Computer Science Textbooks