Go Back   TestMagic Forums > Test preparation > GRE Subject Tests > GRE Computer Science
Register FAQForum Rules Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 07-20-2008, 04:17 PM   #1 (permalink)
rahul_badboy
Trying to make mom and pop proud
 
Join Date: Apr 2008
Posts: 11
rahul_badboy just joined TestMagic.
Automata Theory

Hello people!!I need ur help as i am unable to understand the an example regarding the smallest number of states in which a DFA can be constructed corresponding to an NFA for the same language!!.It is an example in the Automata theory book of hopcroft and ullman

Could someone explain it in a neat and simple way.

Code:
http://rapidshare.com/files/131114139/example_2.13.pdf.html
Thnks in advance!!
rahul_badboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 07-20-2008, 08:45 PM   #2 (permalink)
CalmLogic
TestMagic Guru
 
Join Date: Feb 2006
Posts: 1,550
CalmLogic 's dreams are becoming reality.
Let me know if you still have questions after reading the following. The excerpt below explains why 2^n states are required to convert a NFA to DFA:

Quote:
It is 2^n... this is because every state may have transitions to every other state .... so try creating graphs of all these different states... (in each case some could be isolated away from the start state).... what would then be the powerset for these states (basically all possible combinations) ?.. it has to be 2^n (either a state makes it to the graph or it dosent)

http://www.urch.com/forums/gre-compu...0-nfa-dfa.html (nfa to dfa)
Quote:
As 2 can be defined as {0,1} (see natural number), 2^S (i.e., {0,1}^S) is the set of all functions from S to {0,1}

Power set - Wikipedia, the free encyclopedia
site:urch.com 2^n dfa nfa - Google Search

Last edited by CalmLogic : 07-20-2008 at 09:06 PM.
CalmLogic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 07-21-2008, 10:10 AM   #3 (permalink)
rahul_badboy
Trying to make mom and pop proud
 
Join Date: Apr 2008
Posts: 11
rahul_badboy just joined TestMagic.
Thanks for reply CalmLogic ,i understood the example.
rahul_badboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 11-10-2008, 06:57 PM   #4 (permalink)
yaprak
Trying to make mom and pop proud
 
Join Date: Nov 2008
Posts: 2
yaprak just joined TestMagic.
hello,could you help me to solve this problem,please...ı must prove that {b^2i a^3j c^k : i,j,k integers and i>=j >k } is not regular languagethanks for your help...
yaprak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 11-11-2008, 05:12 AM   #5 (permalink)
rahul_badboy
Trying to make mom and pop proud
 
Join Date: Apr 2008
Posts: 11
rahul_badboy just joined TestMagic.
@yaprak

it's pretty obvious buddy,u have to remember arbitrary number of b's till u have seen the a's which is not possible with a finite amount of memory available in dfa or nfa.

Take b^2i a^3j c^k of length n ,with given condition i>=j>k

divide it into three parts with the middle part a^3j ,so according to pumping lemma x y^b z for b>=0 should also be in the original language if xyz is regular.
b^2i (a^3j)^b c^k will disobey the rule at a point when 2i will be less than
3j.

Hope this is right and helps u
rahul_badboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 11-11-2008, 08:24 AM   #6 (permalink)
p_hardev
Trying to make mom and pop proud
 
Join Date: Nov 2008
Posts: 10
p_hardev just joined TestMagic.

hi i have some doubt i question
if the order in which a fixed set of elements is inserted into a tree structure does not matter(the same tree results every time ) then the tree is

a) Heap 2) Binary search tree
c) AVL tree
d) Complete binary tree

which option is correct
according to me answer is (d)
i m sure are not
plz reply me
p_hardev is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 11-11-2008, 11:15 PM   #7 (permalink)
yaprak
Trying to make mom and pop proud
 
Join Date: Nov 2008
Posts: 2
yaprak just joined TestMagic.
thank you for your help...
yaprak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 11-14-2008, 12:21 AM   #8 (permalink)
chandrayaan
Trying to make mom and pop proud
 
Join Date: Nov 2008
Posts: 3
chandrayaan just joined TestMagic.
What exactly should i study for Automata Theory for GRE CS ?

Automata Theory is a vast field.
chandrayaan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

What you can do
You cannot post new threads
You cannot post replies
You cannot post attachments
You cannot edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:06 PM.

Contact TestMagic   TestMagic Forums      Archive   

Link to TestMagic   TestMagic Locations   Legal   Privacy

Partner Sites: GMAT Sentence Correction   SAT 2400

Content Relevant URLs by vBSEO 3.0.0
Copyright © 1998-2008 TestMagic
Ad Management by RedTyger

Scroll Up