We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

GDB Topic 

Theory of automata is study of abstract machines, like Turing Machines, Finite State Machines, Push Down Automata, Mealy and Moore Machines. You have to discuss and explain which kind of automaton machine promisingly can serve as a recognizer for context-free languages.  

 Note:

A concise, coherent and to the point comment is preferred over lengthy comment having irrelevant details. Your comment must not be more than 100 words.


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 579

Replies to This Discussion

Please Discuss here about this GDB.Thanks

Our main purpose here discussion not just Solution

Students having same subject can start discussion here to solve assignment, GDB & Quiz and can clear their concepts until solution is provided. 

 

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

Then copy Questions from assignment file and paste in Discussion.

 

http://bit.ly/vucodes (For Assignments, GDBs & Online Quizzes Solution)

http://bit.ly/papersvu (For Past Papers, Solved MCQs, Short Notes & More)

Click Here to Search (Looking For something at vustudents.ning.com?)

Click Here to Join (Our facebook study Group)

ha bhai kon c machine best hay to recognize context free languages...??? discuss and why ???

CS402 GDB IDEA

Answer

Push Down Automata

Reason

  • Context-free languages (CFLs) are generated by context-free grammars. The set of all context-free languages is identical to the set of languages accepted by pushdown automata, and the set of regular languages is a subset of context-free languages.

 

  • The language that describes strings that have matching parentheses is a context-free language

 

  • Push down automata are non-deterministic finite state machines augmented with additional memory in the form of a stack, which is why the term push down is used, as elements are pushed down onto the stack.

https://brilliant.org/wiki/pushdown-automata/

https://brilliant.org/wiki/context-free-languages/

CS402 Theory of Automata GDB Solution & Discussion Fall 2019


CS402 GDB Solution Idea:

 

Turing machine can serve as a recognizer for context free language. Context free languages are described by context free grammars which can be generated by pushdown automata. Regular languages and finite state machines can describe some context free languages but not all. Turing machines can generate all regular languages all context free languages and more.

It shows that the Turning machine will be used. Turning machine is more powerful. Turning machine with an input tape and a working tape can emulate a push down automaton directly using the same number of steps. Turning machines can accept some non context free languages as well, in addition to context free languages.

A finite state machine cannot identify or recognize context free language at all. Push down automata and turning machine both can identify context free language but a turning machine can recognize context free language using few states or transition than a push down automata for the same language.

Another solution idea of CS402 GDB:

 

A finite state machine cannot identify or recognize Context free language at all. Push down automata (PDA) and Turing machine both can identify/recognize Context free language but a Turing machine can recognize context free language using few states or transition than a push down automata for the same language.

Turing machine is more powerful, Turing machine with an input tape and a working tape can emulate a pushdown automaton directly, using the same number of steps. Turing machines can accept some non- Context free languages as well, in addition to Context free languages.

RSS

Looking For Something? Search Here

HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.