Why is this the answer? <a^b , d, e> only get produced once no? why indefinitely
ID: 3819684 • Letter: W
Question
Why is this the answer? <a^b , d, e> only get produced once no? why indefinitely?
Upon which scenario will the following program terminate? [start rightarrow a start rightarrow b (a b) rightarrow (c d) c rightarrow c d rightarrow e (c e) rightarrow f (c d) rightarrow (g W f)] A) The program will terminate upon the occurrence of the sequence ((a b), c) B) The program reproduces indefinitely the sequence ((a b), d, e) C) The program reproduces indefinitely the sequence ((a b), (c d), (c e g), (c g), (c f), c) D) None of the aboveExplanation / Answer
Answer:
C
The program reproduces indefinitely the sequence
((a / b) , (c / d), (c / e / g), (c / g), (c / f),c)