Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the problem or determining, from a given PDA. whether the PDA has infinite language or not. is this decidable or not? And why or

image text in transcribed

Consider the problem or determining, from a given PDA. whether the PDA has infinite language or not. is this decidable or not? And why or why not? Decidable because from class we saw that we can detect looping conditions and just delete them if there are any (and say that It is infinite if there are such conditions). Decidable: because of the pumping lemma for CFLs. Undecidable: one would need to keep track of infinitely many strings that are accepted by the PDA (through simulation). Undecidable If one can decide this problem, then one can decide the acceptance problem for TMs, which we already know is undecidable None of the above is correct My friend is curious about the language: L = {M is a TM and accepts at least 3 strings}. Is this language decidable? Why or why not? Decidable: test strings until 3 are found to be accepted by the machine. Decidable: the machine's language must be finite, and therefore decidable. Undecidable we can construct a decider for A_TM assuming a decider for this language Undecidable we can construct a decider for this language assuming a decider for A_TM None of the above is true

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AutoCAD Database Connectivity

Authors: Scott McFarlane

1st Edition

0766816400, 978-0766816404

More Books

Students also viewed these Databases questions

Question

Ratio of fixed assets to long term liabilities equation accounting

Answered: 1 week ago

Question

5. Have you any experience with agile software development?

Answered: 1 week ago