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

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

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: 583

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

Latest Activity

+M.Tariq Malik replied to +M.Tariq Malik's discussion MGMT615 GDB No 01 Fall 2020 Solution / Discussion in the group MGMT615 Transportation & Logistics Management
1 minute ago
+M.Tariq Malik liked +M.Tariq Malik's discussion MGMT615 GDB No 01 Fall 2020 Solution / Discussion
1 minute ago
+M.Tariq Malik added a discussion to the group MGMT615 Transportation & Logistics Management
1 minute ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MGMT617 GDB Fall 2020 Solution / Discussion in the group MGMT617 Production Planning and Inventory Control
2 minutes ago
+M.Tariq Malik liked +M.Tariq Malik's discussion MGMT617 GDB Fall 2020 Solution / Discussion
2 minutes ago
+M.Tariq Malik added a discussion to the group MGMT617 Production Planning and Inventory Control
3 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS603 Assignment 01 Fall 2020 Solution / Discussion Due Date: 26-11-2020 in the group CS603 Software Architecture and Design
7 minutes ago
Profile IconMian Hasseb Ahmad, Joshua, Muhammad Zubair and 19 more joined Virtual University of Pakistan
11 minutes ago
♦_"Tooba Jutt"_♦ liked Pooja kumari's discussion quiz discussion
18 minutes ago
♦_"Tooba Jutt"_♦ liked +M.Tariq Malik's discussion Don't Worry About Your Assignments, GDBs & Online Quizzes
19 minutes ago
♦_"Tooba Jutt"_♦ liked Mani Siddiqui Ex's discussion Free Programming Essentials in Python
19 minutes ago
Ꮆㄩフフ卂尺 liked KINZAR IMAN.'s profile
29 minutes ago

Looking For Something? Search Here

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

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

.