1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Dennis_Churaev [7]
3 years ago
5

A useless state in a pushdown automaton is never entered on any input string. Con- sider the problem of determining whether a pu

shdown automaton has any useless states. Formulate this problem as a language and show that it is decidable
Computers and Technology
1 answer:
Assoli18 [71]3 years ago
3 0

Answer:

The Explanation have got it all Go through the explanations.

Explanation:

Define the decision problem with the language

USELESS TM = {hM, qi | q is a useless state in TM M }.

We show that USELESS TM is undecidable by reducing ETM to USELESS TM, where

ETM = { hMi | M is a TM and L(M) = ∅ }. We know ETM is undecidable by Theorem 5.2.

Assume that USELESS TM is decidable and that TM R decides it. Note that for any

Turing machine M with accept state qaccept, qaccept is useless if L(M) = ∅.

Thus, because TM R solves USELESS TM, we can use R to check if qaccept is a useless

state to decide ETM. Specifically, below is a TM S that decides ETM by using the

decider R for USELESS TM as a subroutine:

S = “On input hMi, where M is a TM:

1. Run TM R on input hM, qaccepti, where qaccept is

the acceptable state of M.

2. If R accepts, accept. If R rejects, reject.”

However, since we know that ETM is undecidable, there cannot exist a TM that decides

USELESS TM.

You might be interested in
3.26 LAB: Leap Year A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate a
Tju [1.3M]

Answer:

year = int(input("Enter a year: "))

if (year % 4) == 0:

  if (year % 100) == 0:

      if (year % 400) == 0:

          print(str(year) + " - leap year")

      else:

          print(str(year) +" - not a leap year")

  else:

      print(str(year) + " - leap year")

else:

  print(str(year) + "- not a leap year")

Explanation:

*The code is in Python.

Ask the user to enter a year

Check if the <u>year mod 4</u> is 0 or not. If it is not 0, then the year is not a leap year. If it is 0 and if the <u>year mod 100</u> is not 0, then the year is a leap year. If the <u>year mod 100</u> is 0, also check if the <u>year mod 400</u> is 0 or not. If it is 0, then the year is a leap year. Otherwise, the year is not a leap year.

8 0
4 years ago
Read 2 more answers
Using Word, Maureen is writing an outline of a presentation she plans to give to her company. She will be showing a video during
svlad2 [7]
A copy and paste would be fastest and easiest. As you can pinpoint the exact location to where you want the picture to be. 
5 0
3 years ago
Read 2 more answers
The interactive process through which people learn the basic skills, values, beliefs, and behavior patterns of a society.
irina1246 [14]
The answer is : Socialization

the interactive process through which people learn the basic skills, values, beliefs, and behavior patterns of a society is called Socialization
During socialization process, a person tend to understand what is acceptable in the society and which is not. During the process, a person could also discover various unique characteristics from each individual
6 0
3 years ago
ICD-10-CM diagnosis codes are entered in Block 21 of the CMS-1500 claim. A maximum of __________ ICD-10- CM codes may be entered
SVETLANKA909090 [29]

Answer:

The answer to this question is 12.

Explanation:

You can enter a maximum of 12 ICD-10-CM codes on a single claim.Since we know that the codes entered in CMS-1500 claim are in the block of 21 in ICD-10-CM diagnosis.This should be kept in mind always in medical insurance.

So we conclude that the answer to this question is 12.

5 0
3 years ago
Describe data center technology and its relevance to modern-day cloud computing. Support your opinion with cited information.( S
Masteriza [31]

Answer: Data center technologies are the innovations that support the IT(Information technology) department and its functioning like storing data, management, operating etc. Data centers provide the help in functioning of the cloud services.

The modern cloud computing services require data centers for operations protecting data when the the power of the network goes off or any other failure occurs while data is getting updated or accessed.

6 0
4 years ago
Other questions:
  • Which subject area describes collecting and analyzing data from computer systems, networks, and storage devices, as part of an i
    7·1 answer
  • 7. What is the school campus’s setting<br> the school is sanford
    6·2 answers
  • Write a program that reads in an array of type int . you may assume that there are fewer than 50 entries in the array. your prog
    6·1 answer
  • What is an example of a source that is less likely to be copyrighted?
    7·2 answers
  • The process of executing a program is also called ________.
    8·1 answer
  • How does LinkedIn differ from other popular social media platforms? What are the similarities?
    6·1 answer
  • CAD workstations
    11·1 answer
  • Write a Java class called BankAccount (Parts of the code is given below), which has two private fields: name (String) and balanc
    9·1 answer
  • Write a program that gets a list of integers from input, and outputs the integers in ascending order (lowest to highest). The fi
    5·1 answer
  • An embedded system describes computing technology that has been enclosed in protective shielding for security reasons. True or f
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!