1 Crore+ students have signed up on EduRev. Have you? 
Which of the following regular expression resembles the given diagram?
The given diagram is a transition graph for a turing machine which accepts the language with the regular expression {a,b}*{aba}.
Construct a turing machine which accepts a string with ‘aba’ as its substring.
The language consist of strings with a substring ‘aba’ as fixed at its end and the left part can be anything including epsilon. Thus the turing machine uses five states to express the language excluding the rejection halting state which if allowed can modify the graph as:
The number of states required to automate the last question i.e. {a,b}*{aba}{a,b}* using finite automata:
The finite automata can be represented as:
The machine accept the string by entering into hA or it can:
Three things can occur when a string is tested over a turing machine:
a) enter into accept halting state
b) enter into reject halting state
c) goes into loop forever
D represents the direction in which automata moves forward as per the queue which surely cannot be a starting variable.
Which of the following can accept even palindrome over {a,b}
A language generating strings which are palindrome is not regular, thus cannot b represented using a finite automaton.
Which of the functions can a turing machine not perform?
Different turing machines exist for operations like copying a string, deleting a symbol, inserting a symbol and accepting palindromes.
If T1 and T2 are two turing machines. The composite can be represented using the expression:
If T1 and T2 are TMs, with disjoint sets of non halting states and transition function d1 and d2, respectively, we write T1T2 to denote this composite TM.
A turing machine does the deletion by changing the tape contents from yaz to yz, where y belongs to (S U {#})*.
The composite TM accepts the language of palindromes over {a, b} by comparing the input string to its reverse and accepting if and only if the two are equal.
18 videos44 docs39 tests

Use Code STAYHOME200 and get INR 200 additional OFF

Use Coupon Code 
18 videos44 docs39 tests







