Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 1)Check all and only those of the following languages that are recursive (decidable). 1)The set of Turing-machine codes for Turing machines with more states

Q 1)Check all and only those of the following languages that are recursive (decidable).

1)The set of Turing-machine codes for Turing machines with more states than tape symbols

2)The set of Turing-machine codes for Turing machines that accept all strings over their input alphabet

3) The set of Turing machine codes for Turing machines that both accept and reject the same input.

Q 2)

In the following, we use comp(L) to represent the complement of the language L. We are given the following facts:

There is a polynomial-time reduction of L1 to L2.

There is a polynomial-time reduction of comp(L2) to L3

L3 is in NP.

Given what we know about the relationships among P, NP, and co-NP, which of the following is DEFINITELY true?

A) L2 is in NP.

B) comp(L2) is in co-NP.

C) L1 is not in P.

D) comp(L1) is in NP.

Q3)

Here is an instance of Post's Correspondence Problem:

List A List B
011 01
110 10
01 1011

What is the length of the shortest solution to this instance of PCP? Note: we are asking for the number of occurrences of pairs, not the length of the string that is formed by concatenating the first or second components of the pairs.

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

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions

Question

7. It is advisable to do favors for people whenever possible.

Answered: 1 week ago

Question

9. Power and politics can be destructive forces in organizations.

Answered: 1 week ago