Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello experts is it possible to work this out on a peice of paper and pen and uplaod the answers in form of picture please?

Hello experts is it possible to work this out on a peice of paper and pen and uplaod the answers in form of picture please?

It has been answered by an expert already but he has written some java code which is not intended for my question it is supposed to be worked out like Maths.

Many thanks.

image text in transcribed

image text in transcribed

Consider the Turing Machine depicted below. It uses the input alphabet {B,X} and the tape alphabet {B,X,}.A is the accepting state, initial state is 1 . Instead of having an explicit rejecting state, we use the convention that whenever a state encounters a tape character for which the state has no transition, the input is rejected. (This has been done for no other reason than to avoid clutter in the diagram.) Each of the following is worth 10% of the assessment: (a) For this TM, give complete computations for the words BXBB and BBXB, i.e. sequences of configurations ending in a final state configuration. In case of a rejection, assume a rejecting transition c/c/R to the (implicit) rejecting state R, where c is whatever character was unaccounted for. For example, state 3 has implicit transitions //R and X/X/R to state R. (b) The language recognized by this machine is context-free. Give a context-free grammar that describes the same language. Note: there is no general technique for doing this; but here is a hint: look at the big loop going from state 1 to state 1 ; this is like a recursive language description, but one loop iteration changes the tape content in a particular way. (c) Show that the language recognized by this TM is not regular. (d) In general, the halting problem for Turing Machines is undecidable. That does not mean it is always hard. Explain why this TM always halts for any input. (e) Modify the TM such that each accepted word is exactly the reverse order of an accepted word of the original machine. A

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

Data Infrastructure For Medical Research In Databases

Authors: Thomas Heinis ,Anastasia Ailamaki

1st Edition

1680833480, 978-1680833485

More Books

Students also viewed these Databases questions

Question

What tasks should the general ledger clerk not be allowed to do?

Answered: 1 week ago

Question

6. How do histories influence the process of identity formation?

Answered: 1 week ago